spatie/php-attribute-reader
Lightweight PHP 8+ utility to read native attributes from classes, methods, properties, and parameters using reflection. Designed for simple, fast attribute discovery in frameworks and libraries, with an API that fits common annotation-style workflows.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| eliashaeussler/phpunit-attributes | 0.83 | PHPUnit Attributes adds modern PHP 8 attributes to define PHPUnit tests, data providers, groups, dependencies and more in a clean, declarative way. Keep test classes readable and reduce annotation/docblock noise while staying compatible with PHPUnit workflows. | 4 | 4 | 1 | 2K | 1 | 19.8 | 41.0 | GPL-3.0 | 2 months ago | |
| spiral/attributes | 0.83 | Spiral Attributes is a lightweight PHP 8 attributes toolkit for reading, filtering, and working with attributes via reflection. Used by the Spiral framework, it provides a small, focused API for attribute discovery and metadata handling. | 24 | 23 | 4 | 294K | 1 | 3.7 | 55.2 | MIT | 1 year ago | |
| goaop/parser-reflection | 0.82 | AST-based Reflection API for PHP: introspect classes, methods, and properties directly from source code without autoloading or executing anything. Built on nikic/php-parser and compatible with native Reflection classes—ideal for static analyzers, code generators, and IDE tooling. | 101 | 101 | 51 | 32K | 3 | 23.2 | 39.9 | MIT | 2 months ago | |
| spatie/laravel-schemaless-attributes | 0.80 | Add “schemaless” JSON attributes to Laravel Eloquent models. Store arbitrary key/value data in one JSON column with a fluent API: get/set via properties or arrays, dot-notation access, defaults, forget keys, and query scopes for matching attributes. | 1,080 | 1,084 | 54 | 372K | 0 | 30.7 | 39.5 | MIT | 3 months ago | |
| spatie/image-optimizer | 0.79 | Optimize PNG, JPG, WebP, AVIF, SVG and GIF images in PHP by running them through a chain of installed binaries (jpegoptim, optipng, pngquant, svgo, etc.). Automatically detects available tools and overwrites files with smaller optimized versions. | 2,867 | 2,903 | 223 | 3M | 0 | 39.6 | 44.4 | MIT | 6 months ago | |
| spatie/laravel-route-attributes | 0.79 | Register Laravel routes using PHP 8 attributes on controller methods (Get/Post/etc.). Automatically scans configured controller directories and registers routes without manual Route:: definitions. Includes config publishing and optional enabling/disabling of auto registration. | 886 | 890 | 86 | 59K | 0 | 31.0 | 28.6 | MIT | 3 months ago | |
| spatie/error-solutions | 0.79 | Collection of reusable “solutions” for common runtime errors, used by Spatie’s error tools like Ignition and Flare. Provides a shared way to suggest fixes and actionable hints when exceptions occur in Laravel and PHP apps. | 68 | 68 | 8 | 4M | 0 | 20.3 | 62.4 | MIT | 3 months ago | |
| spatie/mjml-php | 0.78 | Convert MJML email markup to responsive HTML from PHP. Spatie’s mjml-php wraps the Node mjml compiler (Node 16+ required) and provides a simple API like Mjml::new()->toHtml($mjml) to render production-ready email HTML. | 278 | 277 | 16 | 86K | 0 | 20.6 | 38.5 | MIT | 3 months ago |
How can I help you explore Laravel packages today?