PHP code example of sibesh / laravel-sift
1. Go to this page and download the library: Download sibesh/laravel-sift 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/ */
sibesh / laravel-sift example snippets
'providers' => [
Sibesh\LaravelSift\SiftServiceProvider::class,
]
'aliases' => [
'SiftScience' => Sibesh\LaravelSift\Facades\SiftScience::class,
]
use SiftScience;
SiftScience::client()->track('$logout', [
'$user_id' => 'userId',
]);
php artisan vendor:publish --provider="Sibesh\LaravelSift\SiftServiceProvider"