In This Article
Here the complete explanation of Install Composer on Linux and Windows.
Composer is the tool for managing the dependencies for PHP frameworks. It allows downloading libraries that are required for your project and also allows you to update and install libraries for your project.
3 Steps to Install Composer on Linux
For this tutorial you need:
- Ubuntu 14.04
- Access the system with
Here is 3 Steps to Install Composer on Linux,
- Update the package manager using below command.
$ sudo apt-get update
2. To install composer and
php5-cli we need
$ sudo apt-get install curl php5-cli git
3. Composer install is very simple after getting all dependency for linux. Run below command.
$ curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
For checking composer is successfully install or not we run below command,
3 Steps to Install Composer on Windows
For windows, composer installation we have to download
.exe file composer file from a given source,
After download install this. Installation – Windows”. Next, click the “Composer-Setup.exe” link to download the installer.
After successfully installation, open command prompt and run this command,
You can see below screen,
Heree is the all about Install Composer on Linux and Windows. If you facing any issueplease let me know.
- Send Mail Attachments with PHP Mail()
- Selection in CSS | CSS ::selection
- How to Integrate Google Translate on website