lee-to/fast-attributes
lee-to/fast-attributes is a lightweight Laravel package for fast, expressive model attribute handling. It reduces boilerplate around accessors and casts, keeping Eloquent models clean, readable, and efficient—ideal for apps that want simpler model definitions without sacrificing performance.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| genealabs/laravel-two-way-attribute-casting | 0.82 | A Laravel package that enables two-way attribute casting on Eloquent models, letting you transform values both when reading from and writing to the database with custom cast classes. Useful for encapsulating conversion logic in one place for cleaner, reusable model code. | 1 | 1 | 0 | 0 | 0 | 0.2 | — | — | 8 years ago | |
| genealabs/laravel-casts | 0.81 | GeneaLabs Laravel Casts adds flexible custom attribute casting to Eloquent models, making it easy to map database columns to value objects, DTOs, and other PHP classes. Keeps model code clean and cast logic reusable, testable, and simple to configure. | 109 | 95 | 11 | 9K | 0 | 0.8 | 19.2 | MIT | 2 years ago | |
| milwad/laravel-attributes | 0.81 | Laravel Attributes lets you configure Eloquent models using native PHP 8 attributes, replacing boilerplate properties and methods for fillable, hidden, casts, accessors, and more. Keep model classes clean, declarative, and easier to scan. | 232 | 230 | 10 | 384 | 0 | 10.4 | 6.3 | MIT | 6 months ago | |
| taldres/laravel-immutable-attributes | 0.80 | A Laravel package for defining immutable Eloquent model attributes that can be set once but never changed afterward, helping protect critical values from accidental updates. | 0 | 0 | 0 | 3K | 0 | 19.3 | 57.2 | MIT | 2 weeks ago | |
| korridor/laravel-computed-attributes | 0.80 | A Laravel package for adding computed attributes to Eloquent models. Define derived values from existing model attributes and expose them cleanly alongside database columns, helping keep model logic organized, reusable, and easy to access. | 12 | 12 | 4 | 11K | 1 | 14.3 | 44.3 | MIT | 5 months ago | |
| volosyuk/simple-eloquent | 0.80 | — | 55 | 56 | 10 | 2K | 0 | 1.3 | 21.7 | MIT | 7 years ago | |
| std-out/simple-data-objects | 0.79 | Lightweight, attribute-driven DTOs for PHP 8.4+ with zero runtime reflection and compiled per-class closures for fast hydration and serialization. Works standalone or in Laravel 12–13. | 35 | 35 | 0 | 202 | 0 | 27.3 | 13.2 | MIT | 3 weeks ago | |
| bfg/attributes | 0.79 | bfg/attributes brings PHP 8 attributes to Laravel, giving you a clean, declarative way to configure models, controllers, and services. Reduce boilerplate and keep metadata close to your code with simple, reusable attributes. | 0 | 0 | 1 | 7 | 0 | 0.0 | 12.5 | MIT | — | |
| cviebrock/eloquent-typecast | 0.79 | — | 24 | 26 | 1 | 935 | 0 | 0.2 | 21.9 | MIT | — | |
| balajidharma/laravel-attributes | 0.79 | balajidharma/laravel-attributes adds flexible key-value attributes to Laravel Eloquent models. Use a simple trait to store, retrieve, and update custom metadata without schema changes—ideal for settings, extra fields, and user-defined data. | 2 | 2 | 1 | 289 | 0 | 10.5 | 30.0 | MIT | 5 months ago | |
| renoki-co/laravel-useful-casts | 0.79 | renoki-co/laravel-useful-casts provides a collection of handy custom Eloquent casts for Laravel models, reducing boilerplate when converting database attributes into common PHP types and objects. Drop-in casts keep model code cleaner and more expressive. | 11 | — | 1 | — | 0 | 0.5 | — | Apache-2.0 | 3 years ago | |
| priblo/laravel-has-attributes | 0.79 | priblo/laravel-has-attributes provides a reusable HasAttributes trait for Laravel Eloquent models, simplifying custom attribute definitions and reducing boilerplate. Drop it into your models to keep attribute logic organized, consistent, and easy to reuse. | 2 | — | 0 | — | 0 | 0.3 | — | MIT | 7 years ago | |
| petrknap/eloquent | 0.79 | A collection of enhancements and helper classes for Laravel Eloquent: UTC/local datetime casts, Optional wrappers that delegate missing-model handling, and repositories that provide a clean, expressive interface for persistence logic. | 0 | 0 | 0 | 374 | 0 | 22.6 | 41.7 | LGPL-3.0 | 1 week ago | |
| supportpal/eloquent-model | 0.79 | Eloquent-style base Model for PHP/Laravel to build custom, non-database models. Supports accessors/mutators, attribute casting, guarded/fillable and hidden fields, appended attributes, and easy array/JSON conversion. | 0 | 0 | 0 | 911 | 0 | 11.8 | 44.9 | — | 5 months ago |
How can I help you explore Laravel packages today?