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

romalops's avatar

When laravel kiss Angular

Hey guys,

I'm a fresh new developer but learned the reals basics about laravel.

Now I would like to use it as a backend service. Then I was thinking about a combo with the last version of Angular.

Anyone already tried it ? Some feedback ? Easy deploy ? Security ? Blablabla ?

Tell me more!

Thanks in advance :-)

0 likes
4 replies
Web Confection's avatar

@romalops - I don't think Angular is designed to be integrated with Laravel or any other backend framework. Unlike VueJs it should not be used inline. Create an API in Laravel/Lumen then install Angular in a separate domain using the CLI and connect to your API using the HTTP service. You will have to learn about CORS and token based authentication.

Good luck.

1 like
romalops's avatar

@CJJ - Thanks for your comment.

So what other concepts should I learn to combine VueJS (Or ReactJS) to Laravel ? In this case, is it safe to use these both component in the same "app" ?

Web Confection's avatar

@romalops You would normally choose one and not combine both. Vue is the recommended JS framework for Laravel and there are quite a few videos here on Laracasts. I would suggest you start there and perhaps ignore ReactJs and Angular for the moment.

romalops's avatar

@CJJ - I think I missed one thing. In which context do you separate these two framework (We are now talking about VueJS and Laravel) ?

I mean, how do you imagine two app (one in my folder "myApplication-backend-laravel" and one in my folder "myApplication-frontend-laravel") ? Or is it only a basic route "/" returning the view (in the "resources/view/index.html" containing ViewJS that will make all the requests (Ajax) to the RESTFul API of Laravel and then sending informations (in json format I guess) back to VueJS ?

Thanks for your time !

Please or to participate in this conversation.