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

afoysal's avatar

Using cURL in Laravel 8

Is it possible to use cURL for User Authentication in Laravel 8 ?

0 likes
3 replies
sr57's avatar

Don't understand your question, what's your need?

You can use curl to test authentication, api for instance, ... for any app (Laravel8 or not)

Laravel8 is php and you can exec any cmd, curl for instance ...

1 like
afoysal's avatar

Thanks @sr57 . Yes, I am trying to use cURL for authentication. But how can I do that ? Could you please share some sample code ?

Please or to participate in this conversation.