Skip to content

karthikiyengar/laravel-easyauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy Auth

Software License

Quick RESTful authentication for registration and login. Includes support for Facebook and Google+.

Install

Via Composer

Add this repository to your composer.json

  "repositories": [
      {
        "type" : "vcs",
        "url" : "https://github.com/karthikiyengar/easy-auth.git"
      }
    ]

Then require the package

$ composer require paverblock/easyauth

Usage

Register the following providers in your app.php

Paverblock\Easyauth\Providers\EasyAuthServiceProvider::class

Since this application depends on JWT Tokens, you need to add this middleware to your Kernel.php:

'jwt.auth' => \Tymon\JWTAuth\Providers\JWTAuthServiceProvider::class,

Then in your terminal:

php artisan vendor:publish

Run database migrations as well:

php artisan migrate

To Do

  • Better exception handling in some cases
  • Test Cases
  • Derive messages from config file
  • Use transactions while performing inserts
  • Create a proper User model migration
  • Lumen Support
  • Better Documentation

License

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

About

Quick RESTful authentication bootstrap for Laravel

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages