PHP code example of lysice / laravel-visit
1. Go to this page and download the library: Download lysice/laravel-visit 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/ */
lysice / laravel-visit example snippets
php artisan vendor:publish 选择 VisitServiceProvider
php artisan migrate
参数自己设置即可
$schedule->command('view:syncToDb')->daily()->at('01:00');