• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter4 CLI-Create

#1
Hello everyone.

I made a plugin based on the CodeIgniter4 cli mode.

Cli-Create is based on CodeIgniter4. It will help you generate template files more quickly when developing projects with CodeIgniter4.


If you need this plugin, you can visit the git page.

git page click me
The plugin has just been released and there may be some errors. If something goes wrong, I will fix it as soon as possible.
Reply

#2
Nice! This could be very useful!

Can you add some example commands in the README?

I did not try it yet, but I’m not use how to use some of the options, like -space, -usemodel...
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
Reply

#3
(03-09-2020, 02:01 PM)includebeer Wrote: Nice! This could be very useful!

Can you add some example commands in the README?

I did not try it yet, but I’m not use how to use some of the options, like -space, -usemodel...

Hi, thank you for your reply. I have completed all the cases that may be used.

You can read the Readme again or read it in My Hackmd.
Reply

#4
Much better, thanks!
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
Reply

#5
Cool project! Thanks for sharing. Any plans to develop it more? I’d be interested to see Migrations added to integrate more closely with the Models, even if initially it was just an empty migration file. You could probably have a “-migration” option with create:model that called the native spark migration command.
Reply

#6
(03-13-2020, 10:20 AM)MGatner Wrote: Cool project! Thanks for sharing. Any plans to develop it more? I’d be interested to see Migrations added to integrate more closely with the Models, even if initially it was just an empty migration file. You could probably have a “-migration” option with create:model that called the native spark migration command.

Hi, thank you for your reply. But I don’t get it.
The CI4 CLI provides the "php spark migration" command.
What I want to know is, is there a relationship between "create model" and "create migration"?
Reply

#7
The migration would create the tables with all the column names etc;

See the Myth/Auth migration file to get an idea of how it's done.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.