2018-11-09 16:57:11 +00:00
|
|
|
# cradle package
|
|
|
|
|
|
|
|
> Manage packages for a Cradle instance.
|
2019-06-09 00:05:30 +01:00
|
|
|
> More information: <https://cradlephp.github.io/docs/3.B.-Reference-Command-Line-Tools.html#package>.
|
2018-11-09 16:57:11 +00:00
|
|
|
|
|
|
|
- Display a list of available packages:
|
|
|
|
|
|
|
|
`cradle package list`
|
|
|
|
|
|
|
|
- Search for a package:
|
|
|
|
|
|
|
|
`cradle package search {{package}}`
|
|
|
|
|
|
|
|
- Install a package from Packagist:
|
|
|
|
|
|
|
|
`cradle package install {{package}}`
|
|
|
|
|
|
|
|
- Install a specific version of a package:
|
|
|
|
|
|
|
|
`cradle package install {{package}} {{version}}`
|
|
|
|
|
|
|
|
- Update a package:
|
|
|
|
|
|
|
|
`cradle package update {{package}}`
|
|
|
|
|
|
|
|
- Update a package to a specific version:
|
|
|
|
|
|
|
|
`cradle package update {{package}} {{version}}`
|
|
|
|
|
|
|
|
- Remove a specific package:
|
|
|
|
|
|
|
|
`cradle package remove {{package}}`
|