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 | — | 2K | — | 15.7 | 52.4 | — | — | |
| moneo/laravel-morphmap | 0.84 | — | 53 | 52 | 2 | 37 | 0 | 0.3 | 3.1 | MIT | — | |
| sebastiaanluca/laravel-auto-morph-map | 0.84 | — | 53 | 55 | 9 | 158 | 0 | 0.9 | 5.8 | MIT | 4 years ago | |
| rackbeat/laravel-morph-where-has | 0.83 | — | 7 | 7 | 1 | 480 | 2 | 2.9 | 24.1 | MIT | 3 years ago | |
| giacomomasseron/laravel-models-generator | 0.83 | — | 55 | 54 | 2 | 761 | 0 | 25.7 | 18.4 | MIT | 2 months ago | |
| mtolhuys/laravel-schematics | 0.81 | — | 1,488 | 1,490 | 132 | 2K | 19 | 18.0 | 15.0 | MIT | — | |
| pindab0ter/constrained-morph-to-for-laravel | 0.81 | — | 3 | 3 | 0 | 1K | 0 | 16.8 | 38.3 | MIT | 2 months 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 | 1K | 0 | 3.6 | 20.6 | MIT | 9 years ago | |
| user11001/eloquent-model-generator | 0.81 | — | 92 | 97 | 14 | 8 | 6 | 12.2 | 3.0 | MIT | 6 months ago | |
| zing/laravel-eloquent-relationships | 0.81 | — | 8 | 8 | 0 | 7K | 1 | 19.4 | 44.9 | MIT | 2 months ago | |
| composer/class-map-generator | 0.80 | Generate PHP class maps by scanning directories for classes/interfaces/traits/enums and mapping symbols to file paths. Supports simple one-shot map creation or incremental scans with sortable results and reporting of ambiguous class resolutions. | 205 | 206 | 21 | 5M | 0 | 26.0 | 64.4 | MIT | 1 month 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 | 13 | 0 | 11.2 | 12.8 | — | 7 months ago | |
| jimbolino/laravel-model-builder | 0.80 | — | 30 | 31 | 19 | 167 | 0 | 0.8 | 11.1 | 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 | 13 | 0 | 1.2 | 10.0 | — | 4 years ago | |
| coder-at-heart/object-models | 0.80 | — | 5 | 6 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| toramanlis/laravel-implicit-migrations | 0.80 | — | 42 | 40 | 2 | 9 | 0 | 14.6 | 1.3 | MIT | 4 months ago | |
| rayvenues/eloquent-model-generator | 0.80 | — | 13 | 13 | 2 | 131 | 2 | 0.8 | 14.0 | MIT | 2 years ago | |
| symfony/object-mapper | 0.80 | Symfony Object Mapper component maps data from one object to another using PHP attributes. Simplifies DTO/entity transformations, supports configurable mapping rules, and integrates with the Symfony ecosystem. Documentation and contributions are handled in the main Symfony repository. | 35 | 35 | 2 | 183K | 0 | 28.9 | 60.1 | MIT | 2 weeks ago | |
| mark-gerarts/auto-mapper-plus | 0.80 | AutoMapper+ transfers data between PHP objects with minimal boilerplate, inspired by .NET AutoMapper. Define mappings with custom callbacks and operations, handle nested objects, construction, naming conventions, and map arrays/stdClass with configurable options. | 562 | 562 | 32 | 82K | 15 | 28.8 | 39.5 | MIT | 5 months ago |
How can I help you explore Laravel packages today?