Issue
I tried to install CodeIgniter through composer using this:
composer require bcit-ci/CodeIgniter
And it installed successfully I got a warning, see screenshot
And then I tried to install with this:
composer require codeigniter/framework
and I got a fatal error, see screenshot here
I don't know what I am doing wrong.
See all screenshots here: http://imgur.com/a/zsnER
Solution
this is weird that composer trying to install the very first package 1.0.0 , works perfectly at my side.
however , you will need to pass the package version statically as follows:
composer require codeigniter/framework:"3.1-stable"
this will often -till the answer date- install 3.1.0 version,
you may try to download the latest version :
composer require codeigniter/framework:"3.1.4"
Answered By - hassan
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.