New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

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
Laravel:5
License:GPL-2.0
Last Updated:Nov 18, 2015
Links: GitHub  ·  Packagist
Maintainer: carduz

laravel-noredirect-traits

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

Related Packages

jfadich/json-property

Transform an object property into an enhanced array

458 3
soloslee/json-response

JSON-API response for Laravel

92 8
yadakhov/json

A simple wrapper class to work with json in PHP.

8,393 16
inerciacreativa/json

PHP class for working with JSON objects

5 0
ellipsesynergie/api-response

Simple package to handle response properly in your API

1,432,626 371

Version History

Version Released PHP Laravel License
v1.0.1 >=5.3.0 ^5.1 GPL-2.0
v1.0.0 >=5.3.0 ^5.1 GPL-2.0
v0.6.0 >=5.3.0 ^5.1 GPL-2.0
v0.5.1 >=5.3.0 ^5.1 GPL-2.0
v0.5.0 >=5.3.0 ^5.1 GPL-2.0