PHP code example of lancodev / laravel-analytics
1. Go to this page and download the library: Download lancodev/laravel-analytics 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/ */
lancodev / laravel-analytics example snippets
namespace App\Models;
use Lancodev\LaravelAnalytics\Traits\Trackable;
class User
{
use Trackable;
}
bash
php artisan vendor:publish --tag="laravel-analytics-components"
php artisan vendor:publish --tag="analytics-views"
bash
php artisan analytics:install