Download the PHP package wistrix/laravel-onboard without Composer
On this page you can find all versions of the php package wistrix/laravel-onboard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wistrix/laravel-onboard
More information about wistrix/laravel-onboard
Files in wistrix/laravel-onboard
Package laravel-onboard
Short Description Laravel package to help track onboarding steps.
License MIT
Homepage https://github.com/wistrix/laravel-onboard
Informations about the package laravel-onboard
Laravel package to help track onboarding steps.
Installation
You can install the package via composer:
Usage
Add the Wistrix\Onboard\Concerns\Onboardable
interface and Wistrix\Onboard\Concerns\Onboard
trait to your desired models.
Configuration
You can configure your onboarding steps by using the Wistrix\Onboard\Facades\Onboard
facade. Use the default App\Providers\AppServiceProvider.php
or create a new service provider.
Middleware
Create a new middleware and extend the abstract Wistrix\Onboard\Middleware
class.
Default Route
By default, the Wistrix\Onboard\Middleware
class defines the default route home
to redirect users too, if the onboarding is complete and a step route is accessed. This can be customised by adding the defaultRoute
method to your middleware.
Ignore Routes
You can define routes to be ignored by adding the ignoreRoutes
method. This is useful if you have registered your middleware via the bootstrap/app.php
configuration and want to ignore the logout
route for example.
Testing
Changelog
Please see CHANGELOG for more information.
Security
If you discover a security vulnerability, please raise a GitHub issue.
License
The MIT License (MIT).
Please see License File for more information.