Skip to content

allphptricks/laravel-12-custom-user-registration-login

Repository files navigation

Laravel 12 Custom User Registration and Login Tutorial

Learn how to build Laravel 12 custom user registration and login system

The complete tutorial step by step guide is available on my blog. Laravel 12 Custom User Registration and Login

Blog

https://www.allphptricks.com/

Installation

Make sure that you have setup the environment properly. You will need minimum PHP 8.2, MySQL/MariaDB, and composer.

  1. Download the project (or clone using GIT)
  2. Copy .env.example into .env and configure your database credentials
  3. Go to the project's root directory using terminal window/command prompt
  4. Run composer install
  5. Set the application key by running php artisan key:generate --ansi
  6. Run migrations php artisan migrate
  7. Start local server by executing php artisan serve
  8. Visit here http://127.0.0.1:8000/register to test the application