Download the PHP package openjournalteam/laravel-bangau-mail without Composer

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

Laravel Bangau Mail

Bangau is a Laravel 10 mail transport that sends Laravel mail through an external HTTP API. It uses Laravel's normal Mail and queued mail flow, and can fall back to a named SMTP mailer if the API cannot accept a message.

Install

Add the API secrets to .env:

Then add a mailer in config/mail.php and make it the default when appropriate:

The API receives from, to, cc, bcc, subject, text, html, attachments, and meta. Attachments are base64 encoded. A response is considered accepted only on HTTP 202; Bangau uses the first results[*].message_id as Laravel's transport-level message ID.

Set BANGAU_FALLBACK_ON_FAILURE=false or fallback_mailer to null if an API failure must fail the Laravel mail job instead of using SMTP.

API contract

POST {BANGAU_ENDPOINT}/sendmail with headers Accept: application/json, Content-Type: application/json, and X-API-Key. The response must return HTTP 202; a compatible response can include:

Use HTTPS and keep the API key in environment variables or a secret manager. Do not commit it to package configuration.

Bangau rejects non-HTTPS endpoints by default. Only for a trusted local/internal development endpoint, set BANGAU_ALLOW_INSECURE_ENDPOINT=true explicitly.


All versions of laravel-bangau-mail with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/mail Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^10.0 || ^11.0 || ^12.0 || ^13.0
symfony/mailer Version ^6.0 || ^7.0 || ^8.0
symfony/mime Version ^6.0 || ^7.0 || ^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 openjournalteam/laravel-bangau-mail contains the following files

Loading the files please wait ...