• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter Composer Installer

#1
Hi, I created a package to install CodeIgniter with `composer create-project`.

Code:
$ composer create-project kenjis/codeigniter-composer-installer codeigniter

https://github.com/kenjis/codeigniter-co...-installer
Do you want to write tests for your apps? Our book, CodeIgniter Testing Guide would help you.
Reply

#2
I dig the /bin folder and check-diff.sh script as well.

I to "adjust" index.php and rarely copy any new /codeigniter/application/config/* "updates" over to my /application/config/* files.

This is a quick and easy way to check for differences after I do a composer update (ie. codeigniter update).

Nice Work!
Reply

#3
Nice work...keep working on this kind of projects... Smile
Reply

#4
I really dig this idea. Nice implementation with the post-install hook in composer, too.
Practical CodeIgniter 3  • CodeIgniter 4 Foundations - Coming Soon • Vulcan - CLI Tools for CI4
Reply

#5
Thanks guys!

I added:

  * Add shell script to install translations for system messages
  * Add router script for PHP built-in server

https://github.com/kenjis/codeigniter-co...-installer
Do you want to write tests for your apps? Our book, CodeIgniter Testing Guide would help you.
Reply

#6
I released v0.1.4.

*    Add shell script to install Codeigniter Matches CLI
*    Add shell script to install CodeIgniter HMVC Modules

https://github.com/kenjis/codeigniter-co...-installer
Do you want to write tests for your apps? Our book, CodeIgniter Testing Guide would help you.
Reply

#7
Nice work, thanks !
Would be awesome to create modules with cli when using HMVC architecture (mix of Codeigniter Matches CLI and CodeIgniter HMVC Modules).

And one more detail : maybe it would be better to integrate wiredesignz library for HMVC (https://bitbucket.org/wiredesignz/codeig...sions-hmvc) instead of jenssegers github repo, which is not updated anymore i think.
Reply

#8
(05-23-2015, 03:40 AM)jenesaisquoi Wrote: Nice work, thanks !
Would be awesome to create modules with cli when using HMVC architecture (mix of Codeigniter Matches CLI and CodeIgniter HMVC Modules).

And one more detail : maybe it would be better to integrate wiredesignz library for HMVC (https://bitbucket.org/wiredesignz/codeig...sions-hmvc) instead of jenssegers github repo, which is not updated anymore i think.

I added wiredesignz library for HMVC to `master` branch, and also rewrote scripts to install with PHP.
So you can test it:

Code:
$ composer create-project kenjis/codeigniter-composer-installer:dev-master codeigniter
$ cd codeigniter
$ php bin/install.php modular-extensions-hmvc codeigniter-3.x

If there is no problem, I will release the next version of CodeIgniter Composer Installer.
Do you want to write tests for your apps? Our book, CodeIgniter Testing Guide would help you.
Reply

#9
I released v0.2.0: https://github.com/kenjis/codeigniter-co...r/releases

* New third party library installer (rewrite in PHP)
* Add Modular Extensions - HMVC (wiredesignz) installer
Do you want to write tests for your apps? Our book, CodeIgniter Testing Guide would help you.
Reply

#10
Hi kenjis I tried get this install but it was downloaded whitout the index.php file. Is it normal? I tried to copy the default index.php file from a normal CI3, but it's show an error.

"Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php"
PHP is Life!!! See My Portfolio
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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