2017 © Pedro Peláez
 

library laravel-auth

The Sun Auth package helps you to protect your application from Unauthorized user.

image

sun/laravel-auth

The Sun Auth package helps you to protect your application from Unauthorized user.

  • Thursday, July 16, 2015
  • by IftekherSunny
  • Repository
  • 3 Watchers
  • 11 Stars
  • 35 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Sun Auth

Total Downloads Latest Stable Version Latest Unstable Version License, (*1)

The Sun Auth package helps you to protect your application from Unauthorized user., (*2)

Installation Process

In order to install Sun Auth, just add, (*3)

 "sun/laravel-auth": "1.*"

to your composer.json. Then run composer install or composer update., (*4)

Then in your config/app.php add, (*5)

 Sun\Auth\AuthServiceProvider::class,

in the providers array., (*6)

In the config/session.php 'expire_on_close' set to true., (*7)

 'expire_on_close' => true,

You need three extra column in your users table for this package., (*8)

$table->string('tempPassword', 60);
$table->boolean('active');
$table->string('code', 32);

add this 3 lines of code in your users migration file. Then, run, (*9)

php artisan migrate:refresh

Then publish Sun Auth's assets with, (*10)

php artisan vendor:publish

This command will publish all of the assets, views and config files., (*11)

Changing Sun Auth Default Configuration

You can also change Sun Auth default configuration. In the config/SunAuth.php setup your application name, url, favicon link, User model namespace., (*12)

return [
    'app'  => [
        'name' => 'My Awesome App',
        'url'   => 'http://localhost:8000',
        'favicon-url' => 'http://myawesomeapp.com/favicon.png'
    ],
    'user-model-namespace'  => 'App\User',
    'redirect-after-login'  => '/'
];

Screenshots

Login:

Login, (*13)

Register:

Register, (*14)

Register Success:

Register Success, (*15)

Confirmation Email:

Confirmation Email, (*16)

Password Reset:

Password Reset, (*17)

New Password Confirmation Email:

New Password Confirmation Email, (*18)

License

This package is licensed under the MIT License, (*19)

The Versions

16/07 2015

dev-master

9999999-dev

The Sun Auth package helps you to protect your application from Unauthorized user.

  Sources   Download

MIT

The Requires

 

registration laravel auth login laravel auth flash sun auth package

16/07 2015

v1.0

1.0.0.0

The Sun Auth package helps you to protect your application from Unauthorized user.

  Sources   Download

MIT

The Requires

 

registration laravel auth login laravel auth flash sun auth package