PHP code example of karim-qaderi / zoroaster-logs
1. Go to this page and download the library: Download karim-qaderi/zoroaster-logs 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/ */
karim-qaderi / zoroaster-logs example snippets
/**
* Bootstrap any application services.
*
* @return void
*/
protected function boot()
{
Gate::define('Zoroaster-log-viewer', function ($user) {
return in_array($user->email, [
'[email protected]',
]);
});
}