adrolli/eloquent-mutators
Define reusable Eloquent accessors and mutators outside your models. Apply the same transformation logic across multiple models or multiple attributes on one model using a base model class or a trait, with config and extensible registration via a service provider.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| awobaz/eloquent-mutators | 0.86 | Add get and set mutators to Eloquent attributes without boilerplate accessor methods. Define reusable mutator classes and attach them to model attributes at runtime, keeping models clean and mutator logic reusable across your Laravel projects. | 45 | 45 | 7 | 363 | 2 | 1.4 | 15.4 | MIT | 1 year ago | |
| imanghafoori/eloquent-relativity | 0.86 | Laravel package that lets you declare Eloquent relationships without importing related model classes. Relativity infers the target model from the method name, so hasMany, hasOne, belongsTo and belongsToMany calls stay concise and your models keep fewer use statements. | 148 | 148 | 13 | 27 | 1 | 1.2 | 1.0 | MIT | 2 years ago | |
| andydefer/domain-structures | 0.84 | A Laravel/PHP package that provides reusable domain structures and building blocks for domain-driven design. It helps organize business logic, reduce boilerplate, and keep core rules isolated from framework and infrastructure concerns for cleaner, more maintainable applications. | 0 | 0 | 0 | 2K | 0 | 0.0 | 46.3 | MIT | — | |
| milwad/laravel-attributes | 0.84 | 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 | |
| mohammad-fouladgar/eloquent-builder | 0.84 | — | 525 | 526 | 42 | 3K | 0 | 4.2 | 10.9 | MIT | 7 years ago | |
| santigarcor/laravel-ownable | 0.84 | A Laravel package that adds polymorphic ownership to Eloquent models, letting any model be assigned to users or other entities. It provides traits, relationships, and helpers to query owned records and manage ownership across your application. | 19 | — | 4 | — | 0 | 0.6 | — | MIT | 2 years ago | |
| sofa/hookable | 0.84 | — | 65 | 66 | 66 | 7K | 4 | 6.6 | 30.0 | — | 5 years ago | |
| ac/model-traits | 0.84 | — | 6 | 6 | 2 | 14 | 0 | 0.1 | 6.6 | — | — | |
| esensi/model | 0.84 | — | 200 | 201 | 26 | 206 | 0 | 19.1 | 4.5 | MIT | 7 months ago | |
| korridor/laravel-computed-attributes | 0.84 | 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 | |
| orkhanahmadov/eloquent-repository | 0.84 | — | 27 | 27 | 11 | 226 | 2 | 2.3 | 14.0 | MIT | 4 years ago | |
| kumaravelk011/model-validation | 0.84 | A Laravel package for validating Eloquent models with rules defined alongside the model. Keep validation close to your data layer, reuse Laravel’s validator, and catch invalid attributes before saving or updating records. | 33 | — | 5 | — | 0 | 15.5 | — | MIT | 3 months ago | |
| krlove/eloquent-model-generator | 0.83 | Generate Eloquent model classes directly from your existing database tables. This Laravel artisan package inspects your schema and creates models with properties, casts, and relationships, saving time when working with legacy or large databases. | 733 | — | 189 | — | 16 | 7.6 | 6.8 | MIT | 2 years ago |
|
| kerrialn/static-data-importer-bundle | 0.83 | A Symfony bundle for importing static data into your application. It helps load seed or reference datasets into your database through a simple, configurable workflow, making it easier to keep fixtures and lookup data in sync. A lightweight utility for repetitive data import tasks. | 1 | 1 | 0 | 0 | 1 | 0.4 | — | MIT | 4 years ago | |
| theriddleofenigma/laravel-model-validation | 0.82 | Declare validation rules directly on your Eloquent models and have them run automatically on the events you choose, such as saving, creating, or updating. Invalid saves throw Laravel's ValidationException, so no form requests or repeated validator calls are needed. | 33 | 34 | 5 | 2K | 0 | 17.0 | 26.6 | MIT | 3 months ago | |
| joelbutcher/laravel-archivable | 0.82 | Add archiving to Laravel Eloquent models like SoftDeletes. Includes migration macros for archived_at, model trait, and query builder scopes/macros to archive/unarchive records and filter archived vs active results in fluent chains. | 127 | 128 | 24 | 26K | 1 | 23.9 | 37.1 | MIT | 3 weeks ago | |
| jetcod/eloquent-keygen | 0.82 | Laravel package that integrates Snowflake ID generation with Eloquent models, giving you automatic, distributed, unique primary keys via a base model or trait, with per-model opt-out and configurable settings for scalable applications. | 2 | 2 | 0 | 11K | 0 | 14.9 | 55.5 | MIT | 3 months ago | |
| rayvenues/eloquent-model-generator | 0.82 | — | 13 | 13 | 2 | 162 | 2 | 0.8 | 15.2 | MIT | 3 years ago | |
| pepijnolivier/eloquent-model-generator | 0.82 | Generate Eloquent model classes directly from your database tables. This Laravel package inspects your schema and scaffolds models with fillable fields, relationships, casts, and docblocks, cutting boilerplate and speeding up development. | 91 | 92 | 14 | 0 | 6 | 3.4 | 2.3 | MIT | 11 months ago | |
| pursehouse/modeler-laravel-eloquent | 0.82 | — | 11 | 11 | 4 | 51 | 1 | 0.6 | 9.9 | MIT | 6 years ago |
How can I help you explore Laravel packages today?