thecsea/laravel-noredirect-traits
The library that allows you to use standard laravel traits without redirect, returning information via JSON and HTTP code, ideal for REST applications
51
1
| Install | |
|---|---|
composer require thecsea/laravel-noredirect-traits |
|
| Latest Version: | v1.0.1 |
| PHP: | >=5.3.0 |
| License: | GPL-2.0 |
| Last Updated: | Nov 18, 2015 |
| Links: | GitHub · Packagist |
Maintainer: carduz
laravel-noredirect-traits
The library that allows you to use standard laravel traits without redirect, returning information via JSON and HTTP code, ideal for REST applications
How to use
- You have to add the composer dependency
composer require "thecsea/laravel-noredirect-traits" - Use
use \it\thecsea\laravel\noredirect_traits\ResetsPasswords;instead standard traits inPasswordController.php - Substitute
ResetsPasswordswhit the traits that you want in the file where you need it
Traits implemented
- ResetsPasswords
- RegistersUsers
- AuthenticatesUsers
- AuthenticatesAndRegistersUsers
- ThrottlesLogins