Composer + CodeIgniter for the issuance of a new team member prepared a corporate tool?

Hello!

The situation is this:
1. It has long been using CodeIgniter in projects that have experience and useful modules developed by me.
2. I decided to use Composer for its own issue of framework package to every new developer coming on the team. Before that composer is not particularly used.

As I understand it, if you update the version of CI, you will have manually edit index.php ($system_path = vendor/framework/codeigniter), and the directory structure of the application. In automatic mode, it can cause damage to the project (you never know what changes will come)

If we take the latest version of the framework, add the folder appliсation its extensions and additions to package in packagelist or even in a repository giving a developer composer.json with a link to the update source.

Which is better? What else can be the options?
July 12th 19 at 16:44
2 answers
July 12th 19 at 16:46
I think the presence of the composer is an extra lap instead of having to use git directly.

Give the git pull dependencies via composer.
July 12th 19 at 16:48
long used composer in Codeiniter3
scheme configure the following:
1. pull codeigniter via composer
"require": {
 "codeigniter/framework": "3.0.*"
 },

2. in the starting file public_html/index.php
$system_path = '../vendor/codeigniter/framework/system';

3. Well, the app public_html/application

and all, no problems when updating, no

Find more questions by tags CodeIgniterComposerPHP