takachaa / tauth
tauth provides Interim registration and activation while utilizing original auth system.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
This package is not auto-updated.
Last update: 2025-05-10 23:38:17 UTC
README
Introduction
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.
Features
This Package has following features.
• Registration
• Activation account (send activation token by email)
• Login (from scaffold)
• Logout (from scaffold)
• Password Reset (from scaffold)
Requirements
Laravel 5.3
Installation
Require this package using Composer.
$ composer require takachaa/tauth
Instead, you may of course manually update your require block and run composer update if you so choose.
{
"require": {
"takachaa/tauth": "dev-master"
}
}
Configuration
1.Edit the composer.json of your application to set Name Space:
"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.
'providers' => [
// Other service providers...
Takachaa\Tauth\TAuthServiceProvider::class,
],
3.Executes the composer dump autoload command to regenerate the autloader configuration.
$ composer dumpautoload -o
4.To prepare views, Copy views of package to the view directory of your application.
$ php artisan vendor:publish
5.To run all of migrations, execute the migrate Artisan command.
$ php artisan migrate
and then you can crete tables what you need.
users
password_resets
pre_users
Usage
Registration
1.To interim registration, Access the your application like this.
http://**your application url**/register
2.Input account data, click the register button.
3.You can receive an email from your application to activate account.
Activation
1.Check an email from your application.
2.To Active account, Click the Activate Account in an email.
Login
1.To login, Access the your application like this or by login link.
http://**your application url**/login
2.Input email and password, and then login without error.
Logout
1.To logout, Access the your application like this or by logout link.
http://**your application url**/logout
Password Reset
1.To reset password, Access the your application like this or by forgot your password link
http://**your application url**/password/reset
2.Input email address of activated account in reset form.
3.You can receive an email from your application to password change.
4.To Active account, Click the Reset Password link in an email.
5.Input email and new password, and then you login without error.
License
This software is released under the MIT License, see LICENSE.txt.
Tips
To Edit name and email address of application.
Edit the config/mail.php
'from' => [
'address' => 'hello@example.com',
'name' => 'Example',
],
To Edit body structure of email.
Check resources/views/vendor/notifications/email.blade.php and edit what you need.
To Change routing of this package.
Edit vendor/takachaa/tauth/src/Http/routes.php