Download the PHP package beziworld/laravel-mailcow without Composer

On this page you can find all versions of the php package beziworld/laravel-mailcow. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-mailcow

Laravel mailcow

tests Latest Version

Laravel client for the mailcow: dockerized API: domains and alias domains, mailboxes, aliases and catch-all addresses, quotas, DKIM keys, app passwords, rate limits, the Postfix queue, the quarantine, container logs and status, for one or many mail servers.

Polska wersja dokumentacji

Features

Why this package

There is no Laravel package for mailcow on Packagist (checked in November 2026). The framework-agnostic clients (exbil/mailcow-php-api, e-monsite/mailcow-php-client, vexura/mailcow-api) return the raw answers and leave the HTTP 200 failures of mailcow to you. This package is built from the official OpenAPI spec of mailcow-dockerized and its json_api.php, follows the source code where the spec examples are inconsistent (mail queue actions), adds Laravel configuration, typed data, Http::fake() support for your own tests and an Artisan check.

Installation

Create the key in the mailcow UI (Configuration > Access > Edit administrator details > API), choose read-only or read-write access and allow only the IP address of your application.

Usage examples

Provision mail for a new customer

Domains and alias domains

Mailboxes

Quotas

Aliases and catch-all

App passwords

Queue, quarantine, logs and status

Several servers

Anything else

Exceptions

All exceptions extend MailcowException:

Exception When
AuthenticationException HTTP 401 (unknown key or address not allowed) or 403 (read-only key used for a change, isReadOnlyKey()). Never retried. Extends ApiException.
ApiException An item failed (type danger or error, also with HTTP 200), HTTP errors and connection errors: path(), errorKey(), messages(), httpStatus(), payload()
RateLimitException HTTP 429, retryAfter() in seconds
InvalidConfiguration Unknown connection, missing URL / key or an invalid time zone

Notes

Development

Author

Created and maintained by Kamil Ćwiertnia, beziworld.eu.

Need an integration? Get in touch through beziworld.eu.

Other packages by the author

License

MIT. See LICENSE.md. This package is not affiliated with the mailcow project or its maintainers.


All versions of laravel-mailcow with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
ext-json Version *
guzzlehttp/guzzle Version ^7.8
illuminate/console Version ^12.0|^13.0
illuminate/contracts Version ^12.0|^13.0
illuminate/http Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package beziworld/laravel-mailcow contains the following files

Loading the files please wait ...