Open komputronika opened 6 years ago
@komputronika
Why do you want to use bin/install.php
to install Composer pacakges?
You can just run composer
command to install Composer pacakges.
Hello Kenji,
As I said before. this additional code is for install CI libraries that depend on other package. For example: https://github.com/kenjis/codeigniter-ss-twig
Yes we can install for example, Twig with composer directly.
But your codeigniter-ss-twig library has wrapped Twig class so easy to use with Codeigniter.
(there is folder libraries
inside).
Another example library that depend on other composer package is your codeigniter doctrine library.
Thanks.
This additional code is for install CI libraries that depend on other package. For example: https://github.com/kenjis/codeigniter-ss-twig
The steps are:
$this->packages
, with a new key'require'
.composer.json
with new requirement and then runcomposer update
.Test result:
Thank you.
21