Download the PHP package quangtam/laravel-referral without Composer
On this page you can find all versions of the php package quangtam/laravel-referral. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download quangtam/laravel-referral
More information about quangtam/laravel-referral
Files in quangtam/laravel-referral
Download quangtam/laravel-referral
More information about quangtam/laravel-referral
Files in quangtam/laravel-referral
Vendor quangtam
Package laravel-referral
Short Description A Referral System With Laravel
License MIT
Package laravel-referral
Short Description A Referral System With Laravel
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-referral
laravel-referral
A Referral System With Laravel
Installation
Via Composer to add the package to your project's dependencies:
First add service providers into the config/app.php
Publish the migrations
Publish the config
Setup the model
Add UserReferral Trait to your User model.
Usage
Assigning CheckReferral Middleware To Routes.
Once the middleware has been defined in the HTTP kernel, you may use the middleware method to assign middleware to a route:
Now you can create the user:
Get the referral link:
License
Licensed under the MIT license.
All versions of laravel-referral with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package quangtam/laravel-referral contains the following files
Loading the files please wait ....