• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

jeremykenedy/laravel-auth: Laravel 8 with user authentication, registration with ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

jeremykenedy/laravel-auth

开源软件地址(OpenSource Url):

https://github.com/jeremykenedy/laravel-auth

开源编程语言(OpenSource Language):

PHP 56.7%

开源软件介绍(OpenSource Introduction):

Laravel Auth

Laravel Auth is a Complete Build of Laravel 8 with Email Registration Verification, Social Authentication, User Roles and Permissions, User Profiles, and Admin restricted user management system. Built on Bootstrap 4.

Build Status StyleCI Build Status Scrutinizer Code Quality Code Intelligence Status All Contributors MadeWithLaravel.com shield License: MIT

Sponsor

Auth0 If you want to quickly add secure token-based authentication to Laravel apps, feel free to check Auth0's Laravel SDK and free plan at https://auth0.com/developers.

Table of contents

About

Laravel 8 with user authentication, registration with email confirmation, social media authentication, password recovery, and captcha protection. Uses official Bootstrap 4. This also makes full use of Controllers for the routes, templates for the views, and makes use of middleware for routing. Project can be stood up in minutes.

Features

A Laravel 8.x with Bootstrap 4.x project.

Laravel Auth Features
Built on Laravel 8
Built on Bootstrap 4
Uses MySQL Database (can be changed)
Uses Artisan to manage database migration, schema creations, and create/publish page controller templates
Dependencies are managed with COMPOSER
Laravel Scaffolding User and Administrator Authentication.
User Socialite Logins ready to go - See API list used below
Google Maps API v3 for User Location lookup and Geocoding
CRUD (Create, Read, Update, Delete) Themes Management
CRUD (Create, Read, Update, Delete) User Management
Robust Laravel Logging with admin UI using MonoLog
Google reCaptcha Protection with Google API
User Registration with email verification
Makes use of Laravel Mix to compile assets
Makes use of Language Localization Files
Active Nav states using Laravel Requests
Restrict User Email Activation Attempts
Capture IP to users table upon signup
Uses Laravel Debugger for development
Makes use of Password Strength Meter
Makes use of hideShowPassword
User Avatar Image AJAX Upload with Dropzone.js
User Gravatar using Gravatar API
User Password Reset via Email Token
User Login with remember password
User Roles/ACL Implementation
Roles and Permissions GUI
Makes use of Laravel's Soft Delete Structure
Soft Deleted Users Management System
Permanently Delete Soft Deleted Users
User Delete Account with Goodbye email
User Restore Deleted Account Token
Restore Soft Deleted Users
View Soft Deleted Users
Captures Soft Delete Date
Captures Soft Delete IP
Admin Routing Details UI
Admin PHP Information UI
Eloquent user profiles
User Themes
404 Page
403 Page
Configurable Email Notification via Laravel-Exception-Notifier
Activity Logging using Laravel-logger
Optional 2-step account login verfication with Laravel 2-Step Verification
Uses Laravel PHP Info package
Uses Laravel Blocker package

Installation Instructions

  1. Run git clone https://github.com/jeremykenedy/laravel-auth.git laravel-auth
  2. Create a MySQL database for the project
    • mysql -u root -p, if using Vagrant: mysql -u homestead -psecret
    • create database laravelAuth;
    • \q
  3. From the projects root run cp .env.example .env
  4. Configure your .env file
  5. Run composer update from the projects root folder
  6. From the projects root folder run:
php artisan vendor:publish --tag=laravelroles &&
php artisan vendor:publish --tag=laravel2step
  1. From the projects root folder run sudo chmod -R 755 ../laravel-auth
  2. From the projects root folder run php artisan key:generate
  3. From the projects root folder run php artisan migrate
  4. From the projects root folder run composer dump-autoload
  5. From the projects root folder run php artisan db:seed
  6. Compile the front end assets with npm steps or yarn steps.

Build the Front End Assets with Mix

Using Yarn:
  1. From the projects root folder run yarn install
  2. From the projects root folder run yarn run dev or yarn run production
  • You can watch assets with yarn run watch
Using NPM:
  1. From the projects root folder run npm install
  2. From the projects root folder run npm run dev or npm run production
  • You can watch assets with npm run watch

Optionally Build Cache

  1. From the projects root folder run php artisan config:cache
And thats it with the caveat of setting up and configuring your development environment. I recommend Laravel Homestead

Seeds

Seeded Roles
  • Unverified - Level 0
  • User - Level 1
  • Administrator - Level 5
Seeded Permissions
  • view.users
  • create.users
  • edit.users
  • delete.users
Seeded Users
Email Password Access
[email protected] password User Access
[email protected] password Admin Access
Themes Seed List
  • ThemesTableSeeder
  • NOTE: A lot of themes render incorrectly on Bootstrap 4 since their core was built to override Bootstrap 4. These will be updated soon and ones that do not render correctly will be removed from the seed. In the mean time you can remove them from the seed or manaully from the UI or database.
Blocked Types Seed List
Slug Name
email E-mail
ipAddress IP Address
domain Domain Name
user User
city City
state State
country Country
countryCode Country Code
continent Continent
region Region
Blocked Items Seed List
Type Value Note
domain test.com Block all domains/emails @test.com
domain test.ca Block all domains/emails @test.ca
domain fake.com Block all domains/emails @fake.com
domain example.com Block all domains/emails @example.com
domain mailinator.com Block all domains/emails @mailinator.com

Routes


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap