Closed adrianogl closed 8 years ago
And now also possible!
http://labs.infyom.com/laravelgenerator/docs/generator/generator
And very customizable, if you publish templates!
php artisan infyom:scaffold $MODEL_NAME$
php artisan vendor:publish
you go to vendor/infyomlabs/core-templates/templates and check it
you can even copy fields folder to app/resources/infyom/infyom-generator-templates(if you didn't change it on config) , and the command will use this, when finds it. if not, uses the ones from vendor
Pardon me,
php artisan infyom.publish:templates
I have published core-template files into app/resources/infyom/infyom-generator-templates and doens't works.
I want change de core-templates to another template 'admintLTE' and doesn't works as in the previous version from this package!
Whats the steps in order?
Ok, am solve this, the folder is app/resources/infyom/infyom-generator-templates/scaffold
Its already there on doc: http://labs.infyom.com/laravelgenerator/docs/advanced/publish-templates
Ok, but doesn't works with views fields auth templates folder, These must be published manually (i.e., copy/paste)!
Hello I want to generate but without template, only the code because I used acacha admin lte template in composer "acacha/admin-lte-template-laravel": "1.*", and when I generate I have many erros and the view don't work
@gustavorojas you can publish the templates used by laravel-generator with
php artisan infyom.publish:layout
command, and then edit with acacha :D
In Laravel API/Scaffold/CRUD Generator it was possible