Download the PHP package fbeen/mailerbundle without Composer

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

FbeenMailerBundle

This bundle is a tiny layer on top of the Swift Mailer Bundle that is included in each standard Symfony framework

Features include:

Installation

Using composer:

1) Add "fbeen/mailerbundle": "dev-master" to the require section of your composer.json project file.

2) run composer update:

$ composer update

3) Add the bundle to the app/AppKernel.php:

Configuration

Take a look at this configuration example:

If the company_logo is a full URL then it will be used directly. Otherwise The mailer class will use treat it as an asset.

noreply: This is the From that the receiver will see in his email.

general: This is the Reply-to that will be set by default. if the receiver replies than you will receive his mail on this mailaddress

admins: This is the To of the receiver(s) set by default.

using names gives less spamscore

How to use

This can be easily shown with a few examples:

To send an email to the admins you don't need to use setTo()

To send an email to a user you will have to use setTo()

The mailer class will add addional data to the array before calling twig:

So for example 2 you could have a pair of templates as below.

layout.html.twig:

welcome.html.twig:

To render a page with an example content of the email:


All versions of mailerbundle with dependencies

PHP Build Version
Package Version
No informations.
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 fbeen/mailerbundle contains the following files

Loading the files please wait ....