Welcome Guest, Not a member yet? Register   Sign In
CLI generators
#1

(This post was last modified: 08-09-2020, 04:38 AM by Anees Khan.)

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
Reply
#2

(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
Reply
#3

Generators are underway! Check out the latest develop branch of CodeIgniter4/codeigniter4 and some of the existing Pull Requests
Reply
#4

(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?
Reply
#5

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
Reply
#6

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!

Bridging the gap between Technical and Creative

VASCOsoft Digital Media   |   AllMyLinks

Reply
#7

Hi. Take a look at my PR if you have suggestions or comments.

https://github.com/codeigniter4/CodeIgniter4/pull/3480
Reply
#8

It would be good. I used Vulcan actually it didn't useful me. A built-in support should be good.
Reply
#9

Generators are already live. It has been weeks already. Try it the latest develop branch.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB