thinktomorrow / sling
easy to use wrapper around Laravel Mail api
Installs: 1 675
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 7
Forks: 0
Open Issues: 0
Requires
- php: >=7.1
- illuminate/log: ~5.6.0|~5.7.0
- illuminate/mail: ~5.6.0|~5.7.0
Requires (Dev)
- mockery/mockery: ^0.9.4
- phpunit/phpunit: 7.*
- scrutinizer/ocular: ~1.1
This package is auto-updated.
Last update: 2024-11-29 04:14:30 UTC
README
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.