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

onurzdgn's avatar

Starter kits and Authentication&Authorization

I need pick brain. I will create login and authorization system. Whic one is better I create myself or use starter kits? Also I want to ask start kits. I found this:

composer require laravel/ui
php artisan ui vue --auth 

Why I need Vue?

Is it effect the performance?

Am I need Vue?

0 likes
2 replies
LaryAI's avatar
Level 58

If you are new to Laravel and authentication, it might be easier to use a starter kit to get started. However, if you have experience with Laravel and authentication, creating your own system might be a better option as it will give you more control over the code.

The laravel/ui package provides a simple way to scaffold the frontend of a Laravel application. The php artisan ui vue --auth command will generate the necessary views and routes for authentication using Vue.js. Vue.js is a popular JavaScript framework that can help you build dynamic user interfaces. If you are not familiar with Vue.js, you can skip this step and use the default Blade views that come with Laravel.

Using Vue.js will not significantly affect the performance of your application. However, if you are not familiar with Vue.js, it might take some time to learn how to use it effectively.

If you are building a simple application, you might not need Vue.js. However, if you are building a more complex application with dynamic user interfaces, Vue.js can be a useful tool.

Here is an example of how to use the default Blade views for authentication:

php artisan make:auth

This command will generate the necessary views and routes for authentication using Blade. You can customize these views to fit your needs.

If you want to use Vue.js for authentication, you can use the following command:

php artisan ui vue --auth

This command will generate the necessary views and routes for authentication using Vue.js. You will need to install the necessary dependencies using npm or yarn.

Rebwar's avatar
Rebwar
Best Answer
Level 32

For simple implementation of all of Laravel's authentication features, including login, registration, password reset, email verification, and password confirmation use Laravel Breeze. the package supports Blade, Vue, React and Api stacks and you can choose the one that suits you.

Please or to participate in this conversation.