Download the PHP package happyr/mailer-bundle without Composer

On this page you can find all versions of the php package happyr/mailer-bundle. 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 mailer-bundle

Happyr Mailer Bundle

Happyr Mailer Bundle makes it easier to send HTML emails with your Symfony2 application. This bundle supports template rendering and sending attachments.

Installation

Step 1: Using Composer

Install it with Composer!

Step 2: Register the bundle

To register the bundles with your kernel:

Step 3: Configure the bundle

You find a the full configuration reference here.

Usage

Attachments: If you want to send attachments you need to add them the the parameters array.

Message headers: You can add extra headers on the message if you like

Send emails from Symfony command

If you want to send emails from a Symfony2 command you are often getting errors like:

or

The error occur because you don't have access to a Request object. This bundle help you to fake a Request object. You need to change some config:

If a request object does not exists we will help you to create it.

Changelog

1.3.0 It is not possible to send emails from a console command without getting errors like: "You cannot create a service ("request") of an inactive scope ("request")."

1.2.0 You will no logner get exceptions from switft. If you want to catch exceptions use Happyr\MailerBundle\Exceptions\MailException.

You may now choose how error are handeled by using the error_tyoe config.


All versions of mailer-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
twig/twig Version ^2.4.8
swiftmailer/swiftmailer Version ^5.4 || ^6.0
symfony/yaml Version ^3.4 || ^4.0
symfony/http-foundation Version ^3.4 || ^4.0
symfony/translation Version ^3.4 || ^4.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 happyr/mailer-bundle contains the following files

Loading the files please wait ....