gigerit/laravel-morphmap-js-generator
Generates a JavaScript file from your Laravel morph map so front-end code can resolve model aliases without hardcoding class names. Keeps polymorphic types in sync across PHP and JS, avoiding mismatches when morph aliases change.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-morph-map-generator | 0.86 | Stop forgetting to register models in your Laravel morph map. This package auto-generates morph maps at boot, letting each model register itself via a simple getMorphClass method. Includes configurable autogeneration and a base directory setting for non-default model locations. | 77 | 77 | 9 | 23K | 0 | 20.5 | 38.7 | MIT | 3 months ago | |
| sebastiaanluca/laravel-auto-morph-map | 0.86 | — | 53 | 55 | 9 | 224 | 0 | 0.9 | 6.9 | MIT | 5 years ago | |
| leandrodiogenes/laravel-auto-morph-map | 0.86 | Automatically generates and manages morph maps for Laravel polymorphic relationships, so you no longer maintain a manual morphMap array by hand. Keeps model aliases consistent and simplifies storing polymorphic types in the database. | 0 | — | 0 | — | 0 | 0.0 | — | MIT | 4 years ago | |
| cline/morphism | 0.86 | 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 | 3K | 0 | 7.2 | 50.0 | MIT | 8 months ago | |
| moneo/laravel-morphmap | 0.86 | — | 53 | 53 | 2 | 57 | 0 | 0.3 | 4.3 | MIT | — | |
| laracademy/generators | 0.85 | Laracademy Generators adds Artisan commands to scaffold Laravel models, controllers, migrations, and related classes. It reduces repetitive boilerplate with interactive prompts and customizable stubs, helping you create consistent files faster while following Laravel conventions. | 353 | — | 49 | — | 0 | 3.5 | — | MIT | 3 years ago | |
| based/laravel-typescript | 0.84 | based/laravel-typescript generates TypeScript definitions from Laravel models, resources, and routes, keeping frontend and backend types in sync via artisan commands and configurable output. | 396 | 399 | 53 | 1K | 10 | 6.9 | 13.1 | MIT | 5 years ago |
How can I help you explore Laravel packages today?