Installing from Packagist using Composer
From the Blog sawantshah If you have Composer already installed, then to install a PHP package from Packagist, such as Generators package for Laravel, type the following on the terminal in your web project directory: $ composer require ways/generators You will be asked about the version of the package that needs to be installed: Please provide a version constraint for the way/generators requirement: 1.0.* I required the latest, which was 1.0.x-dev; so something like 1.0.* would get the latest one in 1.0 branch. Composer will install the dependencies first, and then install the required package: composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) – Installing mockery/mockery (dev-master 28c7769) Cloning 28c77695ac5167epakistanblogs.blogspot.comRead Full Post
0 comments :
Post a Comment