PHP code example of nextgen-tech / ewus-laravel
1. Go to this page and download the library: Download nextgen-tech/ewus-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/ */
nextgen-tech / ewus-laravel example snippets
// app/Console/Kernel.php
protected function schedule(Schedule $schedule)
{
// other schedules
$schedule->command('ewus:password --random')->weeklyOn(1, '00:00');
}
sh
php artisan ewus:password --init