Support the ongoing development of Laravel.io →
Authentication Requests Input

I have two PHP applications, one is normal php application and another laravel application, I have login form in Normal php application. When i enter credentials in login page request should go to laravel app and find the valid credentials, Is it possible to do?

Last updated 2 years ago.
0

You could use Ajax or curl.

0

Are the applications on the same server? If yes, it does not really matter if you use ajax or a normal request for validating the login credentials. Just use a $_POST form for the login and send the data to your application.

If the applications on different server, so the ip is different, you can't use ajax to make a request, because of the security reasons.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.