Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 72 | All time: 10,240 This week: 455 |
Version | License | PHP version | Categories | |||
laravel-5-mail-log 1.0.0 | The PHP License | 5 | Email, PHP 5, Logging |
Logs every email sended by laravel (via Mail class include queued mails), preventing duplicates, u can override this by adding in bcc skeep@me.com
or u can limit frequency (by default 30 minutes) of duplicates by adding in bcc delay@me.com
(this can be changed in config file)
Monitors email reads, have event MessageRead.
* install
composer require iwedmak/mail-log
Or
php composer.phar require iwedmak/mail-log
Or add to composer.json
"iwedmak/mail-log": "dev-master"
Register provider, add this to config/app.php in providers array:
iWedmak\Mail\MailLogServiceProvider::class,
After that u will need to publish config
php artisan vendor:publish
and publish migrations and migrate
php artisan maillog:migration
php artisan migrate
Now we can subscribe to mailsend event, by adding to app/Providers/EventServiceProvider.php
protected $subscribe = [
'iWedmak\Mail\MailEventListener',
];
Now u have one more event, it's iWedmak\Mail\MessageRead
when email was read.
Files (9) |
File | Role | Description | ||
---|---|---|---|---|
src (4 directories) | ||||
composer.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files (9) | / | src |
Files (9) | / | src | / | Logger |
File | Role | Description | ||
---|---|---|---|---|
Events (1 file) | ||||
MailEventListener.php | Class | Class source | ||
MailLog.php | Class | Class source | ||
MailLogServiceProvider.php | Class | Class source |
Files (9) | / | src | / | views | / | generators |
File | Role | Description |
---|---|---|
migration.blade.php | Aux. | Auxiliary script |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.