ibrahimsmuhammad/basicsengage-laravel-mailer

Laravel 9+ custom mail transport for BasicsEngage API

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/ibrahimsmuhammad/basicsengage-laravel-mailer

v1.0.1 2025-09-30 09:34 UTC

This package is auto-updated.

Last update: 2025-10-30 09:49:36 UTC


README

A PHP Laravel package to extend Laravel's mailer with BasicsEngage support.

Features

  • Seamless integration with Laravel's mail system
  • Send emails via BasicsEngage
  • Easy configuration and usage

Installation

composer require ibrahimsmuhammad/basicsengage-laravel-mailer

Configuration

  1. Publish the config file (if available):

    php artisan vendor:publish --tag=basicsengage-mailer-config
  2. Add your BasicsEngage credentials to .env:

        MAIL_MAILER=basicsengage
        BASICSENGAGE_API_KEY=Your Api Key
        BASICSENGAGE_API_URL="https://api.basicsengage.com/api/v0/dev/email/send"
    

Usage

Use the Laravel Mail facade as usual. The package will route emails through BasicsEngage.

use Illuminate\Support\Facades\Mail;

Mail::to('recipient@example.com')->send(new \App\Mail\YourMailable());

Customization

You can customize mail settings in config/basicsengage-mailer.php.

    'mailers' => [
        'basicsengage' => [
            'transport' => 'basicsengage',
            'api_key'   => env('BASICSENGAGE_API_KEY'),
            'api_url'   => env('BASICSENGAGE_API_URL', 'https://api.basicsengage.com/api/v0/dev/email/send'),
        ],

License

This package is open-sourced software licensed under the MIT license.