PHP code example of abr4xas / clarity-laravel
1. Go to this page and download the library: Download abr4xas/clarity-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/ */
abr4xas / clarity-laravel example snippets
return [
'id' => env('CLARITY_ID', 'XXXXXX'),
'enabled' => env('CLARITY_ENABLED', true),
];
bash
php artisan vendor:publish --tag="clarity-config"
bash
php artisan vendor:publish --tag="clarity-views"