PHPackages                             jeffersongoncalves/packagist-cli - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. jeffersongoncalves/packagist-cli

ActiveProject[CLI &amp; Console](/categories/cli)

jeffersongoncalves/packagist-cli
================================

CLI tool to publish and manage Composer packages on Packagist via its API (submit, update, list, info).

1.0.0(today)10MITPHPPHP ^8.2CI passing

Since Jun 23Pushed today1 watchersCompare

[ Source](https://github.com/jeffersongoncalves/packagist-cli)[ Packagist](https://packagist.org/packages/jeffersongoncalves/packagist-cli)[ Docs](https://github.com/jeffersongoncalves/packagist-cli)[ RSS](/packages/jeffersongoncalves-packagist-cli/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (5)Versions (2)Used By (0)

[![packagist-cli](https://raw.githubusercontent.com/jeffersongoncalves/packagist-cli/main/art/jeffersongoncalves-packagist-cli.png)](https://raw.githubusercontent.com/jeffersongoncalves/packagist-cli/main/art/jeffersongoncalves-packagist-cli.png)

packagist-cli
=============

[](#packagist-cli)

A small CLI to publish and manage your Composer packages on [Packagist](https://packagist.org)directly from the terminal — submit a new package, force a re-crawl, and inspect what you have published. It stores your Packagist API token locally in `~/.config/packagist.json`(`0600`) so you only authenticate once.

Built with [Laravel Zero](https://laravel-zero.com).

Installation
------------

[](#installation)

```
composer global require jeffersongoncalves/packagist-cli
```

Or download the PHAR from the [releases page](https://github.com/jeffersongoncalves/packagist-cli/releases).

Authentication
--------------

[](#authentication)

Grab your API token from  and store it:

```
packagist auth
# or non-interactively
packagist auth --username=you --token=xxxxxxxx
```

The token is written to `$XDG_CONFIG_HOME/packagist.json` (falling back to `~/.config/packagist.json`) with `0600` permissions.

FlagDescription`--username=`Packagist username (skips the prompt)`--token=`Packagist API token (skips the prompt)`--show`Print the stored credentials (token masked)`--forget`Remove the stored credentialsCommands
--------

[](#commands)

### `submit` — register a new package

[](#submit--register-a-new-package)

```
packagist submit https://github.com/jeffersongoncalves/laravel-zero-support
# shorthand (assumed GitHub):
packagist submit jeffersongoncalves/laravel-zero-support
```

### `update` — force a re-crawl

[](#update--force-a-re-crawl)

```
packagist update jeffersongoncalves/laravel-zero-support
# or by repository URL
packagist update https://github.com/jeffersongoncalves/laravel-zero-support
```

### `list` — list a vendor's packages

[](#list--list-a-vendors-packages)

```
packagist list jeffersongoncalves
# defaults to the authenticated username when omitted
packagist list
```

### `info` — inspect a package

[](#info--inspect-a-package)

```
packagist info jeffersongoncalves/laravel-zero-support
```

Development
-----------

[](#development)

```
composer install
composer test        # pest + pint --test
composer build       # build the PHAR into builds/
```

License
-------

[](#license)

MIT © Jefferson Gonçalves

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance100

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

0d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/411493?v=4)[Jefferson Gonçalves](/maintainers/jeffersongoncalves)[@jeffersongoncalves](https://github.com/jeffersongoncalves)

---

Top Contributors

[![jeffersongoncalves](https://avatars.githubusercontent.com/u/411493?v=4)](https://github.com/jeffersongoncalves "jeffersongoncalves (11 commits)")

---

Tags

clicomposerjeffersongoncalveslaravel-zeropackage-managerpackagistpharphppublishcomposerapiclipublishpackagist

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/jeffersongoncalves-packagist-cli/health.svg)

```
[![Health](https://phpackages.com/badges/jeffersongoncalves-packagist-cli/health.svg)](https://phpackages.com/packages/jeffersongoncalves-packagist-cli)
```

###  Alternatives

[renoki-co/php-helm

PHP Helm Processor is a process wrapper for Kubernetes' Helm v3 CLI. You can run programmatically Helm v3 commands, directly from PHP, with a simple syntax.

1310.6k](/packages/renoki-co-php-helm)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
