Linux command
packagist 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Search packages
composer search [query]
Show package info
composer show [vendor/package]
Require package
composer require [vendor/package]
Browse on web
xdg-open https://packagist.org/packages/[vendor/package]
说明
Packagist is the main repository for PHP packages used by Composer. It aggregates PHP packages from GitHub, GitLab, and other sources, making them installable via Composer. Packagist is not a command but a service accessed through Composer and web interface.
FAQ
What is the packagist command used for?
Packagist is the main repository for PHP packages used by Composer. It aggregates PHP packages from GitHub, GitLab, and other sources, making them installable via Composer. Packagist is not a command but a service accessed through Composer and web interface.
How do I run a basic packagist example?
Run `composer search [query]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more packagist examples?
This page includes 4 examples for packagist, plus related commands for nearby Linux tasks.