PHP code example of prajwal89 / lara-click-insights
1. Go to this page and download the library: Download prajwal89/lara-click-insights 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/ */
prajwal89 / lara-click-insights example snippets
namespace App;
use Prajwal89\LaraClickInsights\Traits\ImpressionTrackable;
use Illuminate\Database\Eloquent\Model;
class YourEloquentModel extends Model
{
use ImpressionTrackable;
...
}