Releases: RonasIT/laravel-entity-generator
Releases · RonasIT/laravel-entity-generator
Laravel >=8 compatibility
Merge pull request #14 from RonasIT/dpankratov/legacy-factories-install fix: move lagacy factories package to require instead of require-dev;
fix: circular relations check
Merge pull request #11 from RonasIT/dpankratov/circular-relations-fix Dpankratov/circular relations fix
fix: circular relations check
1.3.12 Merge pull request #12 from RonasIT/dpankratov/circular-relatons-majo…
Requirements update
- removed jwt from the requirements list;
- imcreased laravel-heleprs version requirements;
Laravel-helpers update
- updated required Laravel-Helpers package version up to 2.0.0-beta;
- updated stubs to use new Laravel-Helpers syntax;
- small refactoring;
CRUD update
- new options of the
make:entity
command available:--only-api
and--only-entity
. Theonly-entity
will generate classes that allows to work with entity inside the application: migration, model, service, repository, factory and seeder. In orderonly-api
option will generate classes that provided external access: routes, controller, requests and test cases. - new
--methods
option provide an ability to generate only required APIs methods and classes.
php artisan make:entity Document --methods=R
e.g. R
value will generate only read actions (Get/Search routes, requests, methods of controller and test cases).
You can combine different methods to generate only required code
php artisan make:entity Document --methods=CD
php artisan make:entity Document --methods=DC
note that order of methods words is not important.
- entity-generator configs now will be automatically updated according to the default package configs, you will be noticed about with the console message;
- search request now has
nullable
rule in thequery
field; - updated readme;
1.3.9: Merge pull request #6 from RonasIT/dpankratov/version-update
- removed minime/annotations package from composer.json cause it already requires by Laravel-Helpers package
Compatibility update
- increased minime/annotations min version to make compatibility with the Laravel-Swagger package
Templates update
Merge pull request #4 from RonasIT/dpankratov/version-update Dpankratov/version update