Does composer provide a way to update the package a project was created with? i.e., if I create a new laravel project with the following
composer create-project --prefer-dist laravel/laravel blog
Composer will grab the latest version of the laravel/laravel
package, unarchive it into the blog folder, and then run composer install
from the blog
folder.
What I want/need to know is, does composer provide a way for me to update the laravel/laravel
package that was downloaded to the blog
folder? I know I could run composer update
inside the blog
folder myself, but this will only update things listed in the compser.json
's require
property — it will not update the unarchived laravel/laravel
in blog
(or will it?)
composer update laravel/laravel
inside the blog folder – Matteo> composer update laravel/laravel
Package "laravel/laravel" listed for update is not installed. Ignoring.
– Hypolite Petovan