PHP code example of avviso-si / laravel-trial-mode
1. Go to this page and download the library: Download avviso-si/laravel-trial-mode 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/ */
avviso-si / laravel-trial-mode example snippets
\AvvisoSI\TrialMode\Providers\TrialModeServiceProvider
protected $middleware = [
...
\AvvisoSI\TrialMode\Http\Middleware\CheckForTrialMode::class,
];
shell
php artisan trial:set 14
shell
php artisan trial:remove