2017 © Pedro Peláez
 

library laravel-basic-authentication

All Basic authentications

image

lucky-saini/laravel-basic-authentication

All Basic authentications

  • Monday, July 11, 2016
  • by lucky-saini
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

laravel-basic-authentication

laravel basic authentication package for both admin and front-end authentication. We are providing authentication for both frontend and admin sites. Because most of the sites we need to create admin site for content editing. Where super admin manage his site contents., (*1)

This package is compatible with Laravel 5.2 and package will not work below 5.2., (*2)

Requirements

PHP >= 5.5.9, (*3)

Installation

Require this package in your composer.json and update composer., (*4)

"lucky-saini/laravel-basic-authentication": "~1.0.2"

After updating composer, add the ServiceProvider to the providers array in config/app.php, (*5)

Luckys\BasicAithentication\BasiAuthenticationServiceProvider::class,

After setup all the above things a command will be added in php artisan. This command copy all the files in appropriate folders. In this command we provided user to create only required scaffolding feature. You can set specific argument according to requirement. It has following arguments admin, frontend and both. both is selected by default if this argument is empty., (*6)

php artisan luckys:auth [scaffold_for]

To publish the config settings in Laravel 5.2 use:, (*7)

php artisan vendor:publish --provider="Luckys\BasicAithentication\BasiAuthenticationServiceProvider"

This will add an admin-auth.php config file to your config folder., (*8)

Set admin password related setting in config/auth.php file. Like, (*9)

  'admin_users' => [
    'provider' => 'users',
    'email' => 'admin.auth.emails.password',
    'table' => 'password_resets',
    'expire' => 60,
  ],

After this code will look like this:, (*10)

  'passwords' => [
    'users' => [......],

    'admin_users' => [
        'provider' => 'users',
        'email' => 'admin.auth.emails.password',
        'table' => 'password_resets',
        'expire' => 60,
    ],
  ],

Documentation

This plugin is an enhancement of Laravel make:auth functionality. Laravel provide us only single authentication. But in this plugin we can create two authentications. As most of the sites we have two sections one is Frontend (for public) site and second is Admin (for site owner). This package provide you to create both types of authentications., (*11)

The Versions

11/07 2016

dev-master

9999999-dev

All Basic authentications

  Sources   Download

The Requires

  • php >=5.5.9

 

by Lucky Saini
by Lakhwinder Singh

17/06 2016

1.0.0

1.0.0.0

All Basic authentications

  Sources   Download

The Requires

  • php >=5.5.9

 

by Lucky Saini
by Lakhwinder Singh

14/06 2016

0.1.0

0.1.0.0

All Basic authentications

  Sources   Download

The Requires

  • php >=5.5.9

 

by Lucky Saini
by Lakhwinder Singh