dev-made-it / laravel-model-boiler
Laravel Model Boiler
dev-main
2024-02-06 14:04 UTC
Requires
- php: ^8.2
- doctrine/dbal: ^3.8
- illuminate/console: ^10.40
- illuminate/support: ^10.40
- spatie/laravel-package-tools: dev-main
Requires (Dev)
- larastan/larastan: ^2.0
- laravel/pint: ^1.13
- orchestra/testbench: ^8.20
This package is auto-updated.
Last update: 2024-10-06 15:45:44 UTC
README
⚠️ This package is Work In Progress (WIP)
This package is aimed to help developers to quickly generate PHP & TypeScript models, interfaces & classes.
Installation
-
Install package
composer require dev-made-it/laravel-model-boiler
-
Publish config file
php artisan vendor:publish --provider="DevMadeIt\Boiler\BoilerServiceProvider"
Usage
Run php artisan boiler:all MODEL_NAME
, i.e. php artisan boiler:all User
Configuration
Roadmap
- Generate PHP annotations for Laravel model
- Generate PHP relations for Laravel model
- Generate Laravel resources & resource collections
- Resource
- Resource annotations
- Resource annotations types
- Resource collection
- Generate resource REST API controllers
- Generate TypeScript from database migrations
- interface
- model
- enums
- custom types