rector/type-perfect
Type Perfect adds 10 PHPStan rules to tighten type declarations: replace empty/isset checks with instanceof for precise narrowing, prefer explicit getters over magic array access, and enforce interface signatures. Easy to enable even on legacy code; improves reliability fast.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| hosmelq/sse | WHATWG-compliant PHP 8.2+ client for consuming Server-Sent Events. Connect via GET/POST using Guzzle, iterate events with a memory-efficient generator, and access data/event/id/retry fields with optional JSON decoding. | 14 | 14 | 0 | 614 | 0 | 3.0 | 21.2 | MIT | 10 months ago | |
| pelago/emogrifier | Emogrifier converts CSS from blocks and stylesheets into inline style attributes in HTML. Ideal for HTML email rendering in clients with poor CSS support (e.g., Outlook, Gmail), ensuring consistent styling across email and mobile readers. | 949 | 959 | 160 | 794K | 80 | 45.1 | 69.8 | MIT | 6 months ago | |
| sabberworm/php-css-parser | Parse and manipulate CSS in PHP with a fast, flexible parser. Convert CSS into an object model, inspect and edit rules, selectors, and declarations, then render back to CSS. Useful for minifying, rewriting assets, or building CSS tooling. | 1,821 | 1,832 | 152 | 6M | 135 | 56.6 | 79.3 | MIT | 3 months ago | |
| sandermuller/laravel-fluent-validation | Type-safe, IDE-autocomplete Laravel validation rule builders. Create rules fluently without memorizing strings; each rule exposes only valid methods. Define nested array validation with each()/children(). Optional HasFluentRules trait speeds wildcard validation dramatically (up to 160x). | 199 | 198 | 2 | 5K | 0 | 29.2 | 23.8 | MIT | 3 days ago | |
| sandermuller/package-boost | Deprecated: sandermuller/package-boost is split into successors. Use package-boost-php for framework-agnostic Composer packages, package-boost-laravel for Laravel packages, or project-boost for PHP apps. Legacy 0.15.x remains for existing installs. | 6 | 5 | 0 | 7K | 0 | 26.0 | 48.8 | MIT | 3 weeks ago | |
| symplify/easy-coding-standard | Easy Coding Standard (ECS) makes PHP coding standards effortless on PHP 7.2–8.5. Fast parallel runs, supports PHP_CodeSniffer and PHP-CS-Fixer, uses prepared rule sets, generates ecs.php config on first run, and can check and auto-fix code with --fix. | 1,608 | 1,622 | 92 | 899K | 0 | 23.1 | 40.8 | MIT | 6 months ago |
How can I help you explore Laravel packages today?