Answer the question
In order to leave comments, you need to log in
Composer doesn't see newly added dependency?
composer.json:
....
"require": {
....
"mcamara/laravel-localization": "1.1.*"
},
....
[email protected]:~/my_projects/lara.local$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Nothing to install or update
Generating autoload files
> php artisan clear-compiled
> php artisan optimize
Generating optimized class loader
Answer the question
In order to leave comments, you need to log in
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
install command checks if a lock file is present, and if it is, it downloads the versions specified there ( regardless of what composer.json says ).https://getcomposer.org/doc/01-basic-usage.md#inst...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question