spatie/laravel-morph-map-generator
Automatically generates and keeps Laravel Eloquent morph maps up to date. Models register themselves by implementing getMorphClass(), so you don’t forget to add entries. Optional auto-generation on app boot, configurable for custom model locations.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| cline/morphism | 0.85 | Central registry for Laravel polymorphic key mapping. Define which primary key column (id/uuid/ulid) each model uses in morph relations, with migration macros, optional strict enforcement, and config-based setup—ideal for package authors. | 0 | 0 | 0 | 2K | 0 | 11.3 | 49.4 | MIT | 6 months ago | |
| moneo/laravel-morphmap | 0.84 | — | 53 | 53 | 2 | 24 | 0 | 0.3 | 2.2 | MIT | — | |
| sebastiaanluca/laravel-auto-morph-map | 0.84 | — | 53 | 55 | 9 | 388 | 0 | 0.9 | 8.9 | MIT | 5 years ago | |
| rackbeat/laravel-morph-where-has | 0.83 | — | 7 | 7 | 1 | 326 | 2 | 2.9 | 23.4 | MIT | 3 years ago | |
| giacomomasseron/laravel-models-generator | 0.83 | — | 56 | 56 | 2 | 2K | 0 | 26.4 | 22.9 | MIT | 2 months ago | |
| supportpal/eloquent-model | 0.82 | 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 | 344 | 0 | 15.4 | 39.7 | — | 3 months ago | |
| cycle/orm | 0.81 | Cycle ORM is a fast, flexible PHP DataMapper ORM for long-running apps. Works with plain PHP objects, dynamic schemas, and powerful query builder. Supports relations, eager/lazy loading, migrations, and MySQL/Postgres/SQLite/SQL Server. | 1,328 | 1,332 | 81 | 30K | 82 | 53.6 | 50.9 | MIT | 3 months ago | |
| mtolhuys/laravel-schematics | 0.81 | — | 1,486 | 1,488 | 132 | 2K | 19 | 9.0 | 10.9 | MIT | — | |
| composer/class-map-generator | 0.81 | Generate PHP class maps by scanning directories for classes, interfaces, traits, and enums. Create a quick symbol-to-file map or use the generator for multi-path scans, sorting, and reporting ambiguous class definitions. MIT licensed; PHP 7.2+. | 205 | 206 | 22 | 6M | 0 | 21.5 | 62.0 | MIT | 4 months ago | |
| pindab0ter/constrained-morph-to-for-laravel | 0.81 | — | 3 | 3 | 0 | 1K | 0 | 21.2 | 40.0 | MIT | 1 month ago | |
| mmoreram/simple-doctrine-mapping | 0.81 | Add Doctrine entity mapping to Symfony bundles without relying on Doctrine auto_mapping. Define entity class, mapping file path, and manager via a simple CompilerPass, enabling clean, per-bundle configuration and easy overrides/customization. | 29 | 29 | 10 | 369 | 0 | 3.6 | 15.5 | MIT | 9 years ago | |
| akimmaksimov85/creator | 0.81 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| user11001/eloquent-model-generator | 0.81 | — | 92 | 97 | 14 | 35 | 6 | 7.6 | 4.3 | MIT | 10 months ago | |
| zing/laravel-eloquent-relationships | 0.81 | — | 8 | 8 | 0 | 28K | 1 | 15.5 | 53.2 | MIT | 6 months ago | |
| cmath10/mapper | 0.80 | A lightweight Laravel/PHP mapping utility to transform data between arrays and objects using configurable field mappings. Helps normalize payloads, rename keys, cast values, and build DTO-style structures with minimal boilerplate. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| boshurik/mapper-bundle | 0.80 | — | 1 | 1 | 0 | 5 | 0 | 7.4 | 7.7 | — | 11 months ago | |
| jimbolino/laravel-model-builder | 0.80 | — | 30 | 31 | 19 | 106 | 0 | 0.8 | 8.9 | GPL-3.0 | — | |
| boshurik/mapper | 0.80 | Lightweight Laravel/PHP object mapper for converting between arrays and DTOs/entities. Helps map input data to typed objects and back with minimal boilerplate, supporting custom mapping rules and nested structures for clean data transformations. | 2 | 2 | 0 | 16 | 0 | 1.2 | 11.1 | — | 5 years ago | |
| coder-at-heart/object-models | 0.80 | — | 5 | 6 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| rayvenues/eloquent-model-generator | 0.80 | — | 13 | 13 | 2 | 201 | 2 | 0.8 | 16.4 | MIT | 3 years ago |
How can I help you explore Laravel packages today?