Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • What is composer and how to install Composer in Ubuntu?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 215
    Comment on it

    Hello Friends,

    Now-a-days composer is widely used in the PHP applications like Laravel, CakePHP and so on. Let's talk about Composer this is a command line tool for dependency management in PHP. This allows you to integrate libraries require in your project.

     

    Why we use this?

    When we download any library or package in our project, it could be possible this library/package have a dependency on another library or package. Now we need to find out what are the dependent libraries and need to download those as well.

    Composer is a solution of this problem. Composer search the require(Dependent) libraries and download them.

     

    In Ubuntu please follow the below step to install composer in your system:

    1) Open your terminal Ctrl+Alt+T

    2) Make your login with sudo -s press Enter Key and then enter your password and press Enter Key

    3) Paste this command in Terminal "curl -s https://getcomposer.org/installer | php"

    Now you can see the downloading process run on your terminal.

    Thank you

     

     

     

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: