PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, January 22, 2022

[FIXED] Error and warning while installing CodeIgniter through Composer

 January 22, 2022     codeigniter, codeigniter-3, composer-php, git, php     No comments   

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
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing