PHP code example of ccarver / queue-watcher-laravel
1. Go to this page and download the library: Download ccarver/queue-watcher-laravel library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ccarver / queue-watcher-laravel example snippets
Schedule::command('model:prune')->daily();
use Ccarver\QueueWatcher\Models\WatchedMail;
// All sent mail, newest first
WatchedMail::latest()->get();
// Mail sent to a specific address
WatchedMail::where('to', 'like', '%[email protected]%')->get();