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

v1.0.1 2015-11-17 23:48 UTC

This package is auto-updated.

Last update: 2024-04-04 11:48:36 UTC


README

Build status: Latest Stable Version Total Downloads Latest Unstable Version License

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

  1. You have to add the composer dependency composer require "thecsea/laravel-noredirect-traits"
  2. Use use \it\thecsea\laravel\noredirect_traits\ResetsPasswords; instead standard traits in PasswordController.php
  3. Substitute ResetsPasswords whit the traits that you want in the file where you need it

Traits implemented

  • ResetsPasswords
  • RegistersUsers
  • AuthenticatesUsers
  • AuthenticatesAndRegistersUsers
  • ThrottlesLogins

By thecsea.it