Codeigniter 4 Manual Install/Download, Composer, Git Tutorial
Apr 25, 2022 . Admin

Hi Dev,
In this tutorial we will go over the demonstration of install codeigniter 4 composer. This article will give you simple example of manually install composer in codeigniter 4. I explained simply step by step codeigniter 4 install composer. I explained simply step by step install codeigniter 4 using composer.
I’m going to show you about install codeigniter 4 using composer.so let's start the example..
Step 1: Install / Download ComposercomposerStep 3: Install / Download Codeigniter 4 So, codeigniter 4 can be installed in a number of different three ways:
First ways go to codeigniter’s official website and download and extract Codeigniter’s new setup and your local webserver environment.
Second ways in this step, we need to open your command prompt and run the bellow following command for creating a Codeigniter project.
composer create-project codeigniter4/appstarter first-CodeIgniter-4 -s rc
so, successfully run the command now, we will update dependency using below command. whenever there is a new release, then from the command line in your project root:
composer update
In the third step, you can download or install the codeigniter 4 using git.
git remote add upstream https://github.com/codeigniter4/CodeIgniter4.gitStep 4: Run the project
Next, we will run the download project, let’s open the terminal so go to
cd C:\Xampp\htdocs\first-CodeIgniter-4
Run the following command
php spark serve OR php spark serve --port=8081 OR php -S localhost:3000
It will help you....