PHP code example of rocketfy / rocketmail
1. Go to this page and download the library: Download rocketfy/rocketmail 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/ */
rocketfy / rocketmail example snippets
protected function schedule(Schedule $schedule)
{
...
$schedule->command('rocketmail:send-newsletter')->everyMinute();
...
}
bash
composer vendor:publish --provider="rocketfy\rocketMail\rocketMailServiceProvider"
php artisan migrate