Menu Close
    Hire Us Request Quote Reading List Switch to Dark Mode

    How to install packages using composer from local directory

    How to install packages using composer from local directory

    To install packages using composer from your local directory, please use the following commands-

    $ composer config repositories.repo-name path /home/Downloads/DemoPackage
    $ composer require company/package

    You will get the ‘company/package’ name from the composer.json file inside your package

    {
      "name":"company/package",
      "description":"this is test package"
    }
    

    That’s it.

    Happy coding 🙂

    . . .

    Comment

    Add Your Comment

    Be the first to comment.

    Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close