What is Composer

The Composer is a dependency manager for PHP. It will manage the dependencies that you require into your project. This means that Composer will pull in all the required libraries, dependencies and manage them all in one place.

Installing Composer

It’s really easy to install composer, It doesn’t matter system root user to install composer. but Yes you need command line access ( SSH access ) to your system or server to install composer.

to set up the composer, login into your server & run following commands :

this will create a file “composer.phar” file

now move this to system’s bin folder so that every user can access it

Note: if you do not have permission than move to local user’s bin directory by

now you are ready to use composer

Install Projects using Composer

Everything about composer

Comments

comments