G
G
goodw842016-04-30 10:21:05
CodeIgniter
goodw84, 2016-04-30 10:21:05

Composer + CodeIgniter to issue a ready-made corporate tool to a new team member?

Hello!
The situation is as follows:
1. I have been using CodeIgniter in projects for a long time, there are developments and useful modules developed by me.
2. I decided to use Composer to issue my own framework package to each new developer who came to the team. Prior to this, composer did not particularly use it.
As far as I understand, if you update the CI version, you will have to manually edit index.php ($system_path = vendor/framework/codeigniter) and the structure of the application folder. In automatic mode, this can lead to a project breakdown (you never know what changes will come)
If you take the latest version of the framework, add your extensions and additions to the application folder, pack it on packagelist or even in the repository, giving the developer composer.json with a link to the update source .
What's better? What other options might there be?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dmitriy, 2016-04-30
@dmitriylanets

I have been using composer in Codeiniter3 for a long time, the configuration
scheme is as follows:
1. pull codeigniter through composer

"require": {
  "codeigniter/framework": "3.0.*"
    },

2. in the start file public_html/index.php
3. Well, the application itself is public_html / application
and that's it, there are no problems when updating

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question