1. Go to this page and download the library: Download sgtaziz/blazar 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/ */
return [
/*
* phantomjs bin path
*/
'phantom_path' => '',
/*
* phantomjs script path
*
* leave it empty to the use the one from the package
*/
'script_path' => '',
/*
* phantomjs options
*/
'options' => '--ignore-ssl-errors=true --ssl-protocol=any --disk-cache=false --debug=true 2>&1',
/*
* prerender the page only if the url is being visited from a bot/crawler
*/
'bots_only' => false,
/*
* log the url when its processed by phantomjs
*/
'debug' => true,
/**
* clear user cache on logout
*/
'clear_user_cache' => true
];
Artisan::call('blazar:flush');
bash
php artisan blazar:flush
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.