Download the PHP package cboxdk/laravel-postal without Composer

On this page you can find all versions of the php package cboxdk/laravel-postal. 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-postal

Cbox Postal

Postal mail server integration for Laravel — a typed, multi-server send transport plus a verified, event-driven webhook observability spine (delivery, bounce, open, click, DNS).

Postal is a self-hosted mail server with an HTTP send API and signed webhooks. This package treats it as a live, typed delivery bus rather than a fire-and-forget mail driver:

Installation

Configure at least one server in .env:

Then verify everything — servers, keys, routes, tables, connectivity:

Install with your AI assistant

Working with Claude Code, Cursor or similar? Paste the setup prompt from docs/getting-started/llm-install.md into your assistant — it performs the whole installation, pauses for the two Postal-UI steps, and finishes with a green postal:doctor run.

Sending

As a mail transport — add a mailer and point MAIL_MAILER at it:

Or through the typed API:

Or per server: Postal::server('cbox-billing')->send(...).

Observing

Point each Postal mail server's webhook at your app (Postal admin → Webhooks; the URL suffix names the server the delivery belongs to):

Fetch the signing key and set it in .env:

Then subscribe to the typed events:

One event class exists per Postal event type: PostalMessageSent, PostalMessageDelayed, PostalMessageDeliveryFailed, PostalMessageHeld, PostalMessageBounced, PostalMessageLinkClicked, PostalMessageLoaded (= opened), PostalDomainDnsError, PostalSendLimitApproaching, PostalSendLimitExceeded.

The store keeps one idempotent row per message in postal_messages (latest status, opens/clicks counters, owning model) plus a deduplicated event log in postal_message_events. Watch it live:

Receiving

Point a Postal route's HTTP endpoint at https://your-app.example/postal/inbound/{server} and listen:

Dynamic servers

Testing your app

Console DX

Command Purpose
postal:install Publish config + setup checklist
postal:doctor Full diagnosis — CI-friendly exit codes
postal:ping Connectivity + credential check per server
postal:tail Live-tail incoming webhook/inbound events
postal:message Inspect one message + its delivery attempts
postal:webhook-key Fetch the webhook signing key as PEM

Documentation

Full documentation lives in docs/: quickstart, multi-server configuration, connection types (api / smtp-api / smtp), the webhook spine, inbound mail, the event catalog, notifications, broadcasting, dynamic server provisioning, extension points and the security model.

Requirements

PHP 8.4+, Laravel 12 or 13. Tested against Postal 3.x.

License

MIT — see LICENSE.md.


All versions of laravel-postal with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
ext-openssl Version *
illuminate/console Version ^12.0 || ^13.0
illuminate/contracts Version ^12.0 || ^13.0
illuminate/database Version ^12.0 || ^13.0
illuminate/http Version ^12.0 || ^13.0
illuminate/mail Version ^12.0 || ^13.0
illuminate/queue Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
symfony/mailer Version ^7.4 || ^8.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 cboxdk/laravel-postal contains the following files

Loading the files please wait ...