2017 © Pedro Peláez
 

library laravel-trial-mode

Easy Trial Mode for Laravel 5

image

avviso-si/laravel-trial-mode

Easy Trial Mode for Laravel 5

  • Wednesday, June 20, 2018
  • by jeanjar
  • Repository
  • 1 Watchers
  • 3 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Laravel Trial Mode

Latest Stable Version Total Downloads License, (*1)

For Laravel 5.2+

Instalation

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)

Usage

Start trial mode with 14 days, (*6)

php artisan trial:set 14

End trial mode, (*7)

php artisan trial:remove

Customize View

To customize, you just need create a 402.blade.php at app/resources/views/errors/, (*8)

The Versions

20/06 2018

dev-master

9999999-dev

Easy Trial Mode for Laravel 5

  Sources   Download

MIT

The Development Requires

20/06 2018

1.0

1.0.0.0

Easy Trial Mode for Laravel 5

  Sources   Download

MIT

The Development Requires

20/06 2018

dev-develop

dev-develop

Easy Trial Mode for Laravel 5

  Sources   Download

MIT

The Development Requires