PHP code example of appstract / laravel-crawl-render
1. Go to this page and download the library: Download appstract/laravel-crawl-render 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/ */
appstract / laravel-crawl-render example snippets
php
\Appstract\CrawlRender\Middleware\CrawlerPrerenderMiddleware::class
php
php artisan prerender:crawl
php
// app/console/Kernel.php
protected function schedule(Schedule $schedule)
{
$schedule->command('prerender:crawl')->daily()->at('02:00');
}