Skip to content

A tool for adding terms and conditions to your project

License

Notifications You must be signed in to change notification settings

restgalindo/laravel-terms

 
 

Repository files navigation

Laravel Terms

Latest Version on Packagist Build Status Quality Score Total Downloads

Keep users up to date with your terms and conditions changes. This package provides middleware to intercept requests and redirect to the latest terms.

Installation

You can install the package via composer:

composer require nowendwell/laravel-terms
php artisan vendor:publish --provider="Nowendwell\LaravelTerms\LaravelTermsServiceProvider"
php artisan migrate

Usage

Add the AcceptsTerms trait to your user model and you're good to go!

<?php

use Nowendwell\LaravelTerms\Traits\AcceptsTerms;

class User
{
    use AcceptsTerms;
}

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email nowendwell@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.

About

A tool for adding terms and conditions to your project

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 87.3%
  • Blade 12.7%