composer 一般被用来下载框架,如 laravel、yii 等,composer 其实还有其他很多用法:

安装扩展包(例如:安装图片剪裁工具)

composer require intervention/image
php artisan vendor:publish --provider="Intervention\Image\ImageServiceProviderLaravel5"