Skip to main content

Mission

"Make upgrading old PHP projects easy and simple."

Packages

PackageDescriptionLinks
php-compatible/routerModern routing for legacy PHP applications. Clean up messy routes today, migrate to frameworks tomorrow.
php-compatible/enumPHP 8-style enums for PHP 7.2+ with migration tools
php-compatible/templatesBlazing fast PHP templating with zero dependencies. Native PHP execution at full speed.

Awesome Related Packages

PackageDescriptionLink
Routing
FastRouteFast regex-based router by nikic. The foundation many routers are built on.
League RoutePSR-7/PSR-15 routing and dispatch built on FastRoute. Full middleware support.
Enums
myclabs/php-enumThe enum PHP was missing. Type-hintable enums for PHP 7.3+.
Templates
PlatesNative PHP template system by The PHP League. Twig-inspired without the compilation.
LatteThe safest PHP template engine from Nette. Context-aware XSS protection.
Upgrading
RectorAutomated refactoring for PHP 5.3+. Upgrade entire codebases in days, not months.
Symfony PolyfillBackports features from latest PHP versions. Low overhead, loaded on-demand.
PHPCompatibilityPHP_CodeSniffer sniffs to check version compatibility before upgrading.