Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

madh's avatar
Level 1

Laravel 10 Auth without Starter kit

Hello, I recently initiated a Laravel 10 project, I noticed that they have removed this artisan command. php artisan make:auth . Actually, I want to use my custom login UI instead of the Laravel starter kit. How I can setup Authentication without using a starter kit?

0 likes
3 replies
LaryAI's avatar
LaryAI
AI
Best Answer
Level 58

To set up authentication without using the Laravel starter kit, you can follow these steps:

  1. Install the Laravel UI package using Composer:
composer require laravel/ui
  1. Generate the authentication scaffolding using the ui command:
php artisan ui vue --auth

This will generate the necessary views and routes for authentication using Vue.js as the frontend framework. If you prefer to use another frontend framework, you can replace vue with react or bootstrap.

  1. Run the migration to create the users table:
php artisan migrate
  1. Customize the authentication views in the resources/views/auth directory to match your custom UI.

  2. Customize the authentication logic in the app/Http/Controllers/Auth directory to handle your custom login and registration logic.

That's it! You should now have a custom authentication system in your Laravel 10 project.

1 like
kawax's avatar

Use breeze. The successor of make:auth is breeze.

  1. make:auth : Until Laravel 5.8
  2. laravel/ui : Laravel 6. Just separated make:auth into other package
  3. breeze: Laravel 8. New simple kit using Tailwind

Please or to participate in this conversation.