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

hemuk's avatar
Level 3

What is the standard practice for Laravel + VueJS authentication?

Hi Folks,

I am building an application with Laravel + VueJS, am confused about the authentication methods to follow. Simple Ajax call using Axios or Laravel Passport? This application needs to be enterprise grade. Please help me on this topic.

Regards, Hemanth

0 likes
3 replies
Borisu's avatar

Hey, a very simple rule to go by. Use the backend for business logic and the front-end for ease-of-use. You can even use the built-in authentication, it works perfectly.

1 like
kvx's avatar

I recently made authentication with vuejs. I had to slightly modify the built-in Laravel authentication and it worked just fine.

3 likes
pardeepkumar's avatar

I recently try Laravel authentication using Axios its really amazing and secure , easy authentication to follow.

Please or to participate in this conversation.