Badge Poser
为你的 README 文件添加包含 Packagist 信息的 PHP 徽章。
Parâmetros
Clique para exibir/fechar os parâmetros
Nome | Tipo | Obrigatório | Padrão | Descrição | Mais Observações |
---|---|---|---|---|---|
package | string | true | 包名 | 例如:phpunit/phpunit 。 | |
type | string | true | 徽章类型 | 可选值:v (最新稳定版本)v/unstable (最新不稳定版本)downloads (总下载量)license (许可证),更多值请参考 Packagist 徽章。 | |
style | string | flat | 徽章整体风格 | 可选值:flat flat-square plastic for-the-badge 。 |
txt
https://poser.pugx.org/{package}/{type}{?style}
Exemplos
markdown
<!-- phpunit/phpunit -->
