Download the PHP package inboxcom/mailcore-cli without Composer
On this page you can find all versions of the php package inboxcom/mailcore-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download inboxcom/mailcore-cli
More information about inboxcom/mailcore-cli
Files in inboxcom/mailcore-cli
Package mailcore-cli
Short Description Command-line interface for the Mailcore mail-server API.
License MIT
Informations about the package mailcore-cli
inboxcom/mailcore-cli
Command-line interface for the Mailcore mail-server control API, built on Symfony Console.
Unofficial. Third-party tool; not published by Mailcore.
AI-assisted. Code, tests, and docs were written largely by AI (Claude Code) under human direction and review.
Built on the inboxcom/mailcore-php core client.
Install
As a project dependency:
…or globally, to get a mailcore command on your PATH:
Requires PHP >= 8.4.
Usage
The CLI covers every API operation — one command per endpoint, grouped as users:*, domains:*, mailboxplans:*, mailfilter:*, reports:*, datadump:*. Run mailcore list to see them all.
Configuration
Credentials are resolved in this order (first non-empty wins):
- Environment variables
MAILCORE_API_KEY/MAILCORE_BASE_URI - INI file at
~/.config/mailcore/config.ini(or$XDG_CONFIG_HOME/mailcore/config.ini) - Built-in default (base URI only)
The timeouts also accept env overrides MAILCORE_TIMEOUT / MAILCORE_CONNECT_TIMEOUT.
Conventions:
- Credentials come from the environment or the config file above, never CLI flags, so the key stays out of shell history and
ps. - Passwords are read from a hidden prompt unless
--password=is given, for the same reason. - Predicate commands set a non-zero exit code on the "negative" result (
verify-password,rbl-lookup) so they compose in scripts. - List commands render tables;
datadump:fetchstreams raw bytes to stdout (or--outputto a file).
Development & full docs
This package is developed in the Fjordmail/mailcore-sdk monorepo (this repository is a read-only subtree split). Issues and contributions belong there.
License
MIT — see LICENSE.