HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pie — The PHP Installer for Extensions. More information: <https://github.com/php/pie/blob/1.4.x/docs/usag

Submitted by: @import:tldr-pages··
0
Viewed 0 times
theextensionscommandinstallerpiecliphpfor

Problem

How to use the pie command: The PHP Installer for Extensions. More information: <https://github.com/php/pie/blob/1.4.x/docs/usage.md>.

Solution

pie — The PHP Installer for Extensions. More information: <https://github.com/php/pie/blob/1.4.x/docs/usage.md>.

Install or update an extension:
pie install {{vendor}}/{{extension}}


List installed extensions and their versions:
pie show


Display information about a specific package:
pie info {{vendor}}/{{extension}}


List the configured repositories:
pie repository:list


Add a repository:
pie repository:add {{type}} {{url}}


Remove a repository:
pie repository:remove {{url}}

Code Snippets

Install or update an extension

pie install {{vendor}}/{{extension}}

List installed extensions and their versions

pie show

Display information about a specific package

pie info {{vendor}}/{{extension}}

List the configured repositories

pie repository:list

Add a repository

pie repository:add {{type}} {{url}}

Context

tldr-pages: common/pie

Revisions (0)

No revisions yet.