easy to use wrapper around Laravel Mail api
1,675
2
7
Package Data
Maintainer Username: BenCavens
Maintainer Contact: cavensben@gmail.com (bencavens)
Package Create Date: 2015-10-27
Package Last Update: 2018-09-18
Language: PHP
License: MIT
Last Refreshed: 2024-12-14 15:14:56
Package Statistics
Total Downloads: 1,675
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 7
Total Forks: 0
Total Open Issues: 0

sling

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

This is an basic wrapper around the Laravel Mailer and provides a chainable api for constructing a mail message. Please note that this package is in development and no stable version has been reached so far.

Install

Via Composer

$ composer require thinktomorrow/sling

Usage

$sling->to('user@example.com','Ben Cavens')
     ->from('user@example.com','Ben Cavens')
     ->subject('This is a mail for you!')
     ->template('mails.invite') // blade view
     ->data(['name' => 'Ben Cavens']) // parameters for view
     ->send();

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email cavensben@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.