tauth provides Interim registration and activation while utilizing original auth system.
Beforehand you need to make sure possible to send email from application and connect database of your Application. tauth provides Interim registration and activation while utilizing original auth system such as LoginController and more. That's why this package is required laravel 5.3. This package include some view files prevented from auth scaffold, So you don't need to use auth scaffold. Now you can image that this package is based on auth scaffold., (*1)
This Package has following features., (*2)
• Registration • Activation account (send activation token by email) • Login (from scaffold) • Logout (from scaffold) • Password Reset (from scaffold)
Laravel 5.3, (*3)
Require this package using Composer., (*4)
$ composer require takachaa/tauth
Instead, you may of course manually update your require block and run composer update if you so choose., (*5)
{ "require": { "takachaa/tauth": "dev-master" } }
1.Edit the composer.json of your application to set Name Space:, (*6)
"autoload": { "classmap": [ "database" ], "psr-4": { "App\\": "app/", "Takachaa\\Tauth\\": "vendor/takachaa/tauth/src" } },
2.Register the Takachaa\Tauth\TAuthServiceProvider in your config/app.php configuration file., (*7)
'providers' => [ // Other service providers... Takachaa\Tauth\TAuthServiceProvider::class, ],
3.Executes the composer dump autoload command to regenerate the autloader configuration., (*8)
$ composer dumpautoload -o
4.To prepare views, Copy views of package to the view directory of your application., (*9)
$ php artisan vendor:publish
5.To run all of migrations, execute the migrate Artisan command., (*10)
$ php artisan migrate
and then you can crete tables what you need., (*11)
users password_resets pre_users
1.To interim registration, Access the your application like this., (*12)
http://**your application url**/register
2.Input account data, click the register button., (*13)
3.You can receive an email from your application to activate account., (*14)
1.Check an email from your application., (*15)
2.To Active account, Click the Activate Account in an email., (*16)
1.To login, Access the your application like this or by login link., (*17)
http://**your application url**/login
2.Input email and password, and then login without error., (*18)
1.To logout, Access the your application like this or by logout link., (*19)
http://**your application url**/logout
1.To reset password, Access the your application like this or by forgot your password link, (*20)
http://**your application url**/password/reset
2.Input email address of activated account in reset form., (*21)
3.You can receive an email from your application to password change., (*22)
4.To Active account, Click the Reset Password link in an email., (*23)
5.Input email and new password, and then you login without error., (*24)
This software is released under the MIT License, see LICENSE.txt., (*25)
Edit the config/mail.php, (*26)
'from' => [ 'address' => 'hello@example.com', 'name' => 'Example', ],
Check resources/views/vendor/notifications/email.blade.php and edit what you need., (*27)
Edit vendor/takachaa/tauth/src/Http/routes.php, (*28)