Today, we are going to explain to you how to install Codeigniter 4 using Manual, Composer and Git. we know you how to install and download Codeigniter 4.
There are three ways to install or download Codeigniter 4. so you can see out below details.
Codeigniter 4 Install / Download using Manually
if you want to install or download it manually then you can go to the official website and download it.
Codeigniter 4 Install / Download using Composer
If you want to install or download using the composer then first require to PHP 7+ version for the installation latest Codeigniter and require the composer.
Download the composer and install the composer. follow the below URL to you can download composer https://getcomposer.org/
After the installation composer, open the cmd and check the below command to the composer is installed or no.
composer
Go to your www or htdocs folder directory and run the following below Codeigniter installation command.
composer create-project codeigniter4/appstarter myFirstProject -s rc
The above command run after Codeigniter 4 latest version successfully installed.
Codeigniter 4 Install / Download using Git
if you want to install or download using Git. then you can install or download using the git repository.
git remote add upstream https://github.com/codeigniter4/CodeIgniter4.git