2017 © Pedro Peláez
 

library archangel

Another PHP mailing script, this time with method chaining

image

jacobemerick/archangel

Another PHP mailing script, this time with method chaining

  • Sunday, February 7, 2016
  • by jacobemerick
  • Repository
  • 1 Watchers
  • 0 Stars
  • 462 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Archangel

Build Status Code Climate Test Coverage Scrutinizer Code Quality, (*1)

Encapsulated utility for sending out emails with PHP. Will separate out plain-text, html, and attachments. Works across several tested email clients, including the picky Microsoft Outlook., (*2)

Why Archangel? Well, it's cool (like bow ties) and technically an 'archangel' is a 'messenger'., (*3)

Installation

It's recommended that you use Composer to install Archangel., (*4)

$ composer require jacobemerick/archangel "^2.0"

This will install Archangel and it's dependencies. It requires PHP 5.3.0 or newer and sendmail functionality., (*5)

Usage

There are some minimum values to set before Archangel will attempt to send a mail. They are: - to address - subject - some type of message (plain text, html, or attachment(s)), (*6)

Archangel can work with or without method chaining. In the below examples everything is chained, but you don't have to structure your calling this way - it is totally up to you., (*7)

Basic structure

Basic structure of a chained vs unchained request., (*8)

(new Jacobemerick\Archangel\Archangel())
  ->addTo('email@example.com')
  ->setSubject('Test Subject')
  ->setPlainMessage('This is a rather plain message.')
  ->send();

$archangel = new Jacobemerick\Archangel\Archangel();
$archangel->addTo('email@example.com');
$archangel->setSubject('Test Subject');
$archangel->setPlainMessage('This is a rather plain message.');
$archangel->send();

Future Todos

  • add in more documentation

License

Archangel is licensed under the MIT license. See License File for more information., (*9)

The Versions

07/02 2016

dev-master

9999999-dev

Another PHP mailing script, this time with method chaining

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jacobemerick

07/02 2016

2.1.0

2.1.0.0

Another PHP mailing script, this time with method chaining

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jacobemerick

06/02 2016

2.0.0

2.0.0.0

Another PHP mailing script, this time with method chaining

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar jacobemerick

16/01 2016

0.1.1

0.1.1.0

Another PHP mailing script, this time with method chaining

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Avatar jacobemerick

15/01 2016

0.1.0

0.1.0.0

Another PHP mailing script, this time with method chaining

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Avatar jacobemerick