PHPackages                             espaguette/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. espaguette/cli

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

espaguette/cli
==============

A CLI tool to execute commands based on a JSON configuration.

v1.0.1(1y ago)03MITPHP

Since Jan 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Espaguette/cli)[ Packagist](https://packagist.org/packages/espaguette/cli)[ RSS](/packages/espaguette-cli/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Espaguette CLI
==============

[](#espaguette-cli)

**Espaguette CLI** é uma ferramenta que permite definir e executar comandos personalizados através de um arquivo de configuração JSON. Ela simplifica a execução de tarefas comuns do projeto, oferecendo uma interface interativa para selecionar e executar comandos pré-configurados.

Recursos
--------

[](#recursos)

- **Menu Interativo**: Navegue através dos comandos disponíveis utilizando as setas do teclado.
- **Configuração Flexível**: Permite adicionar, remover ou modificar comandos facilmente no arquivo `espaguette.json`.
- **Fácil Utilização**: Executa os comandos diretamente no terminal.
- **Flexível**: Permite utilizar qualquer comando, não estando limitado à comandos PHP.

Requisitos
----------

[](#requisitos)

- PHP 8.0 ou superior
- Composer

Instalação
----------

[](#instalação)

1. Instale via Composer (Global):

```
composer global require espaguette/cli
```

2. Certifique-se de que o diretório global bin está no seu `PATH`. Para adicioná-lo, inclua no seu `.bashrc`, `.zshrc` ou `.bash_profile`:

```
export PATH="$HOME/.config/composer/vendor/bin:$PATH"
```

3. Recarregue o seu ambiente:

```
source ~/.bashrc  # ou source ~/.zshrc ou source ~/.bash_profile
```

4. Crie um arquivo `espaguette.json` na raiz do seu projeto:

```
{
    "comando1": "Descrição do comando 1",
    "comando2": "Descrição do comando 2"
}
```

Uso
---

[](#uso)

1. Crie o arquivo `espaguette.json` na raiz do seu projeto. Na raiz do seu projeto, crie o arquivo `espaguette.json` com seus comandos e descrições. Exemplo:

```
{
    "bin/cake SincronizarPedidos": "Sincroniza os pedidos do sistema X",
    "php artisan mail:send": "Envia os e-mails pendentes"
}
```

2. Execute a ferramenta:

```
espaguette
```

Você verá o menu interativo parecido com este:

```
Select a command to execute:
    [0] bin/cake SincronizarPedidos - Sincroniza os pedidos do sistema X
    [1] php artisan mail:send - Envia os e-mails pendentes
>

```

Utilize as setas up/down para navegar pelos comandos e pressione Enter para executar.

Licença
-------

[](#licença)

Este projeto está licenciado sob a licença MIT - veja o arquivo [LICENSE](LICENSE) para mais detalhes.

Autor
-----

[](#autor)

- **Julyano Silva** -

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance42

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

Every ~0 days

Total

2

Last Release

474d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b4fb9fca21143d0dd548d53e66b862229358dd0bed7cc8ec1e896fcbc9a5ebb?d=identicon)[julyano](/maintainers/julyano)

---

Top Contributors

[![JulyanoF](https://avatars.githubusercontent.com/u/17284704?v=4)](https://github.com/JulyanoF "JulyanoF (3 commits)")

### Embed Badge

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

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[crazywhalecc/static-php-cli

Build single static PHP binary, with PHP project together, with popular extensions included.

1.8k13.9k](/packages/crazywhalecc-static-php-cli)[matthiasnoback/symfony-console-form

Use Symfony forms for Console command input

368264.8k8](/packages/matthiasnoback-symfony-console-form)[phpcr/phpcr-shell

Shell for PHPCR

721.3M8](/packages/phpcr-phpcr-shell)[madewithlove/license-checker

CLI tool to verify allowed licenses for composer dependencies

54449.8k21](/packages/madewithlove-license-checker)[shel/neos-terminal

Neos CMS Ui terminal for running Eel expressions and other commands

1441.3k](/packages/shel-neos-terminal)

PHPackages © 2026

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