Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Mailcoach Cli Laravel Package

spatie/mailcoach-cli

Command-line tool for Mailcoach. Log in with your instance URL and API token, then run autogenerated commands for every Mailcoach API endpoint (lists, campaigns, etc.). Includes clear-cache/logout and an AI agent skill for Boost/skills.sh.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Automation of email marketing workflows: Enables seamless integration of Mailcoach API operations into CI/CD pipelines, DevOps scripts, or internal tools (e.g., triggering campaigns post-deployment).
  • Developer experience (DX) improvements: Reduces friction for backend engineers managing email campaigns by providing a CLI alternative to manual API calls or UI interactions.
  • Agent-assisted workflows: Leverages AI agents (e.g., GitHub Copilot, Claude Code) to automate campaign management, reducing manual intervention for non-technical stakeholders.
  • Multi-environment consistency: Standardizes email marketing operations across dev/staging/prod via scripted CLI commands (e.g., syncing lists or campaigns).
  • Build vs. buy: Avoids reinventing a CLI wrapper for Mailcoach’s API, saving dev time while maintaining flexibility.
  • Roadmap alignment: Supports future-proofing for Laravel-based projects by integrating with Laravel Boost, a modern toolchain for Laravel.

When to Consider This Package

  • Use this when:

    • Your team relies on Mailcoach for email marketing and needs scriptable, automated workflows (e.g., post-deploy campaign triggers).
    • You want to reduce UI dependency for developers managing campaigns, lists, or subscribers.
    • Your AI agents (e.g., Copilot, Claude) need to interact with Mailcoach programmatically (via skills.sh).
    • You’re using Laravel and want to integrate Mailcoach CLI into your toolchain via Boost.
    • You prefer CLI over manual API calls for repetitive tasks (e.g., listing campaigns, updating subscribers).
  • Look elsewhere when:

    • You need real-time UI feedback (this is CLI-only; use Mailcoach’s web app or a custom dashboard).
    • Your team lacks CLI familiarity or prefers GUI tools for email marketing.
    • You require advanced analytics beyond what the API provides (consider Mailcoach’s native reporting).
    • You’re not using Mailcoach (this is a Mailcoach-specific tool).
    • You need high-frequency polling (CLI commands are synchronous; consider webhooks or event-driven APIs).

How to Pitch It (Stakeholders)

For Executives:

"This CLI tool lets us automate email marketing workflows—like triggering campaigns or managing subscriber lists—directly from our terminal or CI pipelines. It’s built on Mailcoach’s API, so it’s reliable and future-proof. For example, we could auto-send a welcome email when a user signs up, or sync our dev/staging/prod email lists with one command. It also integrates with AI agents like GitHub Copilot, so even non-technical teams can manage campaigns via natural language. This reduces manual work, cuts errors, and keeps our email marketing aligned with our dev workflows—all while saving dev time we’d otherwise spend building custom scripts."

For Engineering:

*"This is a drop-in CLI wrapper for Mailcoach’s API, generated from their OpenAPI spec. It turns every API endpoint into a terminal command (e.g., mailcoach list-campaigns, mailcoach update-subscriber). Key benefits:

  • No more manual API calls: Replace curl or Postman with typed CLI commands.
  • Agent-friendly: Works with skills.sh so AI tools (Copilot, Claude) can manage Mailcoach for us.
  • Laravel Boost support: Install it once in your project and use it across environments.
  • Automation-ready: Perfect for CI/CD (e.g., ‘deploy → trigger campaign’). Installation is trivial: composer global require spatie/mailcoach-cli, then mailcoach login with your API token. Try mailcoach to see all available commands—it’s self-documenting!"
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport