Skip to content

🍁 Sugar Maple '05'

Choose a tag to compare

@mychidarko mychidarko released this 12 Feb 08:38
· 186 commits to v2.x since this release

v2.0.5 - 12th February 2022

Added

Added support for project root install

You can now run the install command without any packages if you are in your project directory. Running install without any dependencies will look for a composer.json and install all the dependencies from them. If there's no composer.lock file in the current directory, leaf CLI uses the composer update command under the hood.

This addition gives Leaf CLI the feel of the npm CLI.

Added @ for version scoping

Leaf CLI now allows you to scope packages to a particular version using @.

leaf install [email protected]

The above command will install leaf db v1.0.

Added support for package chaining

You can now add a bunch of packages to install as done with composer, npm and other CLIs as well.

leaf install db illuminate/support 

Using this method, you can even add specific versions of some packages like this:

leaf install db illuminate/[email protected] nesbot/carbon

Fixed

  • Updated serve message