CodeIgniter Forums
CodeIgniter Composer Installer - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: CodeIgniter Composer Installer (/showthread.php?tid=61540)

Pages: 1 2 3 4


RE: CodeIgniter Composer Installer - kenjis - 11-13-2015

@solidcodes It is better to post your opinion to topics about CI4.
According to http://forum.codeigniter.com/thread-61641-post-317733.html#pid317733
it seems that you don't have to worry about.

At least CI3 has no official composer installation. This is just a third-party package.

> I had bad experience before using composer with laravel.

It is mainly because Laravel is too big. It has so many dependencies to download.
So it needs fast Internet connection.


RE: CodeIgniter Composer Installer - solidcodes - 11-13-2015

@kenjis

It's just a reminder so CodeIgniter will not be suck by the Black Hole like Laravel...


RE: CodeIgniter Composer Installer - kenjis - 12-21-2015

v0.4.1 released!
https://github.com/kenjis/codeigniter-composer-installer/releases

* Fix typo in output message (bin/install.php)


RE: CodeIgniter Composer Installer - kenjis - 01-19-2016

v0.4.2 released!
https://github.com/kenjis/codeigniter-composer-installer/releases

* Add CodeIgniter Rest Server installer


RE: CodeIgniter Composer Installer - kenjis - 10-08-2016

I've just released v0.4.4.
https://github.com/kenjis/codeigniter-composer-installer/releases


RE: CodeIgniter Composer Installer - kenjis - 02-02-2017

v0.4.6 was released. Now it installs CodeIgniter's `.gitignore`.
https://github.com/kenjis/codeigniter-composer-installer/releases

And if you have interested in CI4, you can install it like:
Code:
composer create-project kenjis/codeigniter-composer-installer:4.x-dev codeigniter



RE: CodeIgniter Composer Installer - Pizzicato - 05-11-2017

Hi!
Thanks for this awesome project. I have a few questions:
In the README file it says "You must update files manually if files in application folder or index.php change. Check CodeIgniter User Guide.". So if a create any new file in the  application folder, like a new controller, I wouldn't be able to update automatically via Composer? I guess I'm getting this wrong, obviously the application folder would have to be modified to develop anything at all, but I'd like to know for sure.


Another question: What's the proper way to update packages installed using the install.php script?

Cheers


RE: CodeIgniter Composer Installer - kenjis - 06-03-2017

(05-11-2017, 02:03 AM)Pizzicato Wrote: Hi!
Thanks for this awesome project. I have a few questions:
In the README file it says "You must update files manually if files in application folder or index.php change. Check CodeIgniter User Guide.". So if a create any new file in the  application folder, like a new controller, I wouldn't be able to update automatically via Composer? I guess I'm getting this wrong, obviously the application folder would have to be modified to develop anything at all, but I'd like to know for sure.


Another question: What's the proper way to update packages installed using the install.php script?

Cheers

You can update your CodeIgniter automatically via Composer. Yes, the project is for it.

README says if CodeIgniter updates files in the application folder (on rare occasions, config files or something are updated), you have to update your files manually. The way you have to do is written in CodeIgniter User Guide.

In short, all files in `system` folder is updated via Composer, but all files in `application` folder and index.php are never updated.


RE: CodeIgniter Composer Installer - kenjis - 06-03-2017

> Another question: What's the proper way to update packages installed using the install.php script?

There is no official proper way to update these packages.
Because there is no way to uninstall these packages.
You have to look into how to update each of packages.

But almost all cases, you just run install.php again, you can update it.
It is the same as you install (overwrite) the package again.


RE: CodeIgniter Composer Installer - Pizzicato - 06-05-2017

All right! Thanks for answering! :-)