0

I need to install sofa/eloquence Laravel 5.2 package. In the documentation there is the following instruction:

1. Require the package in your composer.json:

    "require": {
        "sofa/eloquence": "~5.2", // for Laravel 5.2.*
    },

So, I guess that after requiring it in composer.json I will have to run the composer update command. But, this command will also try to update other packages that are already installed, right?

What if I don't want that, how can I install "sofa/eloquence": "~5.2" without touching anything else? For example, directly, via command line (or in any other way).

1
  • 2
    composer require "name of the package" Commented Mar 8, 2017 at 16:58

1 Answer 1

2

In order to get a package without a composer.json file use:

composer require sofa/eloquence:~5.2

You can find documentation here: https://getcomposer.org/doc/03-cli.md#require

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.