CodeIgniter Forums

Full Version: CLI generators
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi,

please add feature in cli to generate controllers,models,libraries,helper files just like Laravel Artisan

i mean just like php artisan make:controller, it would be awesome if ci4 have php spark make:controller

thanks
(08-09-2020, 04:32 AM)Anees Khan Wrote: [ -> ]hi,

please add feature in cli to generate controllers,models,libraries,helper files just like Laravel Artisan

i mean just like php artisan make:controller, it would be awesome if ci4 have php spark make:controller

thanks

Take a look at this project: https://github.com/lonnieezell/vulcan
Generators are underway! Check out the latest develop branch of CodeIgniter4/codeigniter4 and some of the existing Pull Requests
(08-10-2020, 06:31 AM)MGatner Wrote: [ -> ]Generators are underway! Check out the latest develop branch of CodeIgniter4/codeigniter4 and some of the existing Pull Requests
Thats awesome news. Do you have an estimate?
There are some in place already on `develop` branch, as well as the base classes for implementing more. I just finished reviewing a PR for a centralized "generate all" command - more community feedback on this PR and maybe even help with writing test cases would speed it along:

https://github.com/codeigniter4/CodeIgniter4/pull/3426
I have been greatly anticipating this as well!

I asked Lonnie Ezell about his Vulcan project a few months ago, and he stated that he still has plans to complete it, so that is great news!
Hi. Take a look at my PR if you have suggestions or comments.

https://github.com/codeigniter4/CodeIgniter4/pull/3480
It would be good. I used Vulcan actually it didn't useful me. A built-in support should be good.
Generators are already live. It has been weeks already. Try it the latest develop branch.