MCPcopy
hub / github.com/jeremykenedy/laravel-auth

github.com/jeremykenedy/laravel-auth @v11.1.0 sqlite

repository ↗ · DeepWiki ↗ · release v11.1.0 ↗
3 symbols 31 edges 7 files 1 documented · 33%
README

Laravel Auth

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

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

Sponsor me on GitHub Sponsor me on Patreon Buy me a Coffee Vultr GitHub Stars Follow on GitHub Follow on Twitter

This project costs me $22/month to be hosted on Vultr.

Please consider supporting my work if you use & find it useful. ❤️

Note

If you like this, you will love Laravel Auth Spa with configurable providers from an admin panel.

Table of contents

About

Laravel 12 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 12 with Bootstrap 4.x project.

Laravel Auth Features
Built on Laravel 12
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. Install composer, php-mysql, php-ext and php-dom (dependent on your distrubtion, For Debian run apt install composer php-mysql php-ext php-dom)
  6. Run composer update from the projects root folder
  7. From the projects root folder run:
php artisan vendor:publish --tag=laravelroles &&
php artisan vendor:publish --tag=laravel2step &&
php artisan vendor:publish --tag=laravel-email-database-log-migration
  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 Vite

Using Yarn:
  1. Install yarn (dependent on your distribution)
  2. From the projects root folder run yarn install
  3. From the projects root folder run yarn run dev or yarn run build
Using NPM:
  1. From the projects root folder run npm install
  2. From the projects root folder run npm run dev or npm run build

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
user@user.com password User Access
admin@user.com 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

Core symbols most depended-on inside this repo

manualChunks
called by 0
vite.config.js
toggleText
called by 0
resources/assets/js/bootstrap.js
alterClass
called by 0
resources/assets/js/bootstrap.js

Shape

Function 3

Languages

TypeScript100%

Modules by API surface

resources/assets/js/bootstrap.js2 symbols
vite.config.js1 symbols

Dependencies from manifests, versioned

creativeorange/gravatar1.0 · 1×
doctrine/dbal3.6 · 1×
google/recaptcha1.3 · 1×
guzzlehttp/guzzle7.2 · 1×
intervention/image2.7 · 1×
jeremykenedy/laravel-blocker5.0 · 1×
jeremykenedy/laravel-email-database-log12.0 · 1×
jeremykenedy/laravel-exception-notifier4.1 · 1×
jeremykenedy/laravel-https2.0 · 1×
jeremykenedy/laravel-logger11.0 · 1×
jeremykenedy/laravel-phpinfo1.3 · 1×
jeremykenedy/laravel-roles11.5 · 1×

Datastores touched

DB_CONNECTIONDatabase · 1 repos
DB_DATABASEDatabase · 1 repos
REDIS_CACHE_DBDatabase · 1 repos
REDIS_DBDatabase · 1 repos

For agents

$ claude mcp add laravel-auth \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact