CodeIgniter4 icon indicating copy to clipboard operation
CodeIgniter4 copied to clipboard

codeigniter composer global installer

Open adamkenway007 opened this issue 6 years ago • 8 comments

is there any chance add composer's system-wide codeigniter/installer to make installation shorter.

adamkenway007 avatar Jul 11 '20 03:07 adamkenway007

https://github.com/codeigniter4/appstarter - are you familiar with this way of installation?

ivantcholakov avatar Jul 13 '20 10:07 ivantcholakov

@adamkenway007, are you referring to something like laravel/installer?

paulbalandan avatar Jul 14 '20 20:07 paulbalandan

@adamkenway007, are you referring to something like laravel/installer?

yes similiar like that https://laravel.com/docs/7.x/installation

Make sure to place Composer's system-wide vendor bin directory in your $PATH so the codeigniter executable can be located by your system. This directory exists in different locations based on your operating system

Once installed, the codeigniter new command will create a fresh codeigniter installation in the directory you specify. For instance, ci4 new app will create a directory named app containing a fresh codeigniter installation with all of codeigniter's dependencies already installed:

ci4 new app

adamkenway007 avatar Jul 16 '20 14:07 adamkenway007

Since this is not a bug, this should be asked in the forum instead: https://forum.codeigniter.com/

As far as I know, there's no plan, or no plan yet, for a global installer. I don't know. But since you're asking, you may try my installer. :)

paulbalandan avatar Jul 16 '20 17:07 paulbalandan

Since this is not a bug, this should be asked in the forum instead: https://forum.codeigniter.com/

As far as I know, there's no plan, or no plan yet, for a global installer. I don't know. But since you're asking, you may try my installer. :)

Interesting,this is what i looking for this time.thanks i hope your codeigniter/installer become official next time and also documented in codeigniter4 userguide

adamkenway007 avatar Jul 17 '20 01:07 adamkenway007

Thank you for your kind words. 😁

paulbalandan avatar Jul 17 '20 02:07 paulbalandan

Can this thread mark as enhancement / documentation,please.

adamkenway007 avatar Jul 19 '20 08:07 adamkenway007

We don't have plans to include this feature at this moment. Also, there is no volunteer who would like to work on this, so I'm closing this. As always, PRs are welcomed.

michalsn avatar Aug 03 '20 14:08 michalsn