Download the PHP package wedevelop4you/laravel-multiple-mailers without Composer

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

Laravel Multiple Mailers

I made this package because I wanted to use multiple mails. It is a small simple package to use multiple mails in Laravel. I'm not really going to expand it any further. Only if I want to add functions myself. You are free to use the package and here is a little explanation of how to use it.

Installation

PHP 7.0 or higher and Laravel 7 or higher are required.

Require this package with composer.

Publish the config file by running:

Config

config the mailers in: multiple-mailer

Accounts config:

name type required default
name mail config object true null
username string true null
password string true null
name string false MAIL_FROM_NAME in your .env file
produces string false default

Providers config:

Queue config:

If you want to queue all the mail on the same worker name but except one or more, Than you can set onQueue in your mail class. The code will not override the queue name.

How to use it

When sending an email you need to set the mailer. The mailer name is the name you set in the mailer config.

Example:

Now import MultipleMailer in your mail class.

Finally set the mailer name in your mail class in the __construct or in your own function. You need to give it the same name as above

Examples:

Exceptions

MailerAccountNotFoundException

throws when the mailer name doesn't exist in the config file.

MailerProviderNotFoundException

throws when the provider name doesn't exist in the config file.


All versions of laravel-multiple-mailers with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.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 wedevelop4you/laravel-multiple-mailers contains the following files

Loading the files please wait ...