finds.dev← search

// the find

nunomaduro/skeleton-php

★ 987 · PHP · MIT · updated Jun 2026

⚡️ This package provides a wonderful PHP skeleton to start building your next package idea.

A composer project template for scaffolding a new PHP package, preconfigured with Pint, Rector, PHPStan, and Pest. It's from Nuno Maduro, who maintains several widely-used PHP tools, so the toolchain choices are opinionated and sensible. This is for PHP developers who want to skip the boilerplate setup when starting a library.

Ships with a complete, modern PHP toolchain out of the box — Pint for formatting, Rector for automated refactors, PHPStan for static analysis, and Pest for tests, all wired into composer scripts. Targets PHP 8.5+, so it doesn't carry dead weight for older versions. The GitHub Actions workflows for format checks and tests are included, meaning CI is ready before you write a line of code. Dependabot config is there too, so you won't forget to keep dependencies updated.

The actual source content is a single placeholder file (src/Example.php) and one test — this is purely a starting point, not a learning resource, so beginners won't glean much about how to structure a real package. Requires PHP 8.5+, which as of mid-2026 is still not the majority production runtime, so you may need to immediately downgrade the constraint for any library targeting broad adoption. There's no readme template, no badge guidance for Packagist, no example of changelog conventions beyond an empty CHANGELOG.md — you still have to figure out the non-code parts yourself.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →