PHP code example of cybercog / laravel-sense
1. Go to this page and download the library: Download cybercog/laravel-sense 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/ */
cybercog / laravel-sense example snippets
\Cog\Laravel\Sense\Authentication\Services\Authenticator::using(function ($request) {
// return true / false;
});
shell script
$ php artisan migrate
shell script
$ php artisan vendor:publish --tag=sense-migrations