dev-master
9999999-devEasy Trial Mode for Laravel 5
MIT
The Development Requires
1.0
1.0.0.0Easy Trial Mode for Laravel 5
MIT
The Development Requires
dev-develop
dev-developEasy Trial Mode for Laravel 5
MIT
The Development Requires
Wallogit.com
2017 © Pedro Peláez
Easy Trial Mode for Laravel 5
composer require avviso-si/laravel-trial-mode="1.0"
Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider., (*2)
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php, (*3)
\AvvisoSI\TrialMode\Providers\TrialModeServiceProvider
Add the Middleware in middleware array in app/Http/Kernel.php, (*4)
protected $middleware = [
...
\AvvisoSI\TrialMode\Http\Middleware\CheckForTrialMode::class,
];
Add trial at your storage/framework/.gitignore, (*5)
Start trial mode with 14 days, (*6)
php artisan trial:set 14
End trial mode, (*7)
php artisan trial:remove
To customize, you just need create a 402.blade.php at app/resources/views/errors/, (*8)
Easy Trial Mode for Laravel 5
MIT
Easy Trial Mode for Laravel 5
MIT
Easy Trial Mode for Laravel 5
MIT