Download the PHP package mailersend/laravel-driver without Composer

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

MailerSend Laravel Driver

Table of Contents

Installation

Requirements

For Laravel 7.x - 8.x support see 1.x branch

Setup

You can install the package via composer:

After that, you need to set MAILERSEND_API_KEY in your .env file:

Add MailerSend as a Laravel Mailer in config/mail.php in mailers array:

And set environment variable MAIL_MAILER in your .env file

Also, double check that your FROM data is filled in .env:

Usage

Old Syntax:

This is an example using the build mailable that you can use to send an email with.

app/Mail/TestEmail.php

New Syntax:

This is an example using the new mailable syntax that you can use to send an email with.

app/Mail/TestEmail.php

We provide a MailerSendTrait trait that adds a mailersend method to the mailable and allows you to use additional options that are available through our API.

After creating the mailable, you can send it using:

Please refer to Laravel Mail documenation and MailerSend API documentation for more information.

Support and Feedback

In case you find any bugs, submit an issue directly here in GitHub.

If you have any troubles using our driver, feel free to contact our support by email [email protected]

Official API documentation is at https://developers.mailersend.com

License

The MIT License (MIT)


All versions of laravel-driver with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-json Version *
illuminate/support Version ^9.0 || ^10.0 || ^11.0
mailersend/mailersend Version ^0.8.0 || ^0.23.0 || ^0.24.0
nyholm/psr7 Version ^1.5
php-http/guzzle7-adapter Version ^1.0
symfony/mailer Version ^6.0 || ^7.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 mailersend/laravel-driver contains the following files

Loading the files please wait ....