Download the PHP package spatie/mailcoach-cli without Composer
On this page you can find all versions of the php package spatie/mailcoach-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download spatie/mailcoach-cli
More information about spatie/mailcoach-cli
Files in spatie/mailcoach-cli
Package mailcoach-cli
Short Description CLI tool for interacting with the Mailcoach API
License MIT
Homepage https://github.com/spatie/mailcoach-cli
Informations about the package mailcoach-cli
Mailcoach CLI
A command-line tool to interact with the Mailcoach API from your terminal. Built on top of the Mailcoach OpenAPI spec, so all API endpoints are available as commands automatically.
Installation
Getting started
1. Authenticate
Connect the CLI to your Mailcoach instance:
You'll be prompted for:
- Your Mailcoach instance URL (e.g.
https://example.mailcoach.app) - An API token — create one at
https://example.mailcoach.app/account/api-tokens
2. Run commands
Once authenticated, all API endpoints are available as commands:
Run mailcoach without arguments to see all available commands.
3. Other commands
AI Agent Skill
This CLI ships with an agent skill so AI agents can manage your Mailcoach instance on your behalf.
Install via Laravel Boost
In a Laravel project using Boost:
Install via skills.sh
Works with Claude Code, Cursor, GitHub Copilot, and 40+ other agents:
Manual installation
Copy the resources/boost/skills/mailcoach/ directory into your agent's skill directory:
- Claude Code:
.claude/skills/mailcoach/ - Cursor:
.cursor/skills/mailcoach/ - Generic:
.ai/skills/mailcoach/
Credentials
Your API token and instance URL are stored in ~/.mailcoach/config.json. Running mailcoach logout removes this file.