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

New2laravel7's avatar

Building an Api to recieve data from 3rd parties

Hi all, first post here, I've been wanting to learn laravel since way back before version 5, but I ended up moving from a full stack dev to just front end..however I now want to start a personal project that involves building an api.. so here I am .. I've been going through the basics and i must say laravel is awesome! my last php project was built in codeIgniter 3 some years ago.. And although I have fond memories with Ci3, Laravel is on another level!

Anyhow.. What i need to accomplish is to be able to send data from my customers websites, to my api built in laravel 7, and then store that data in my database, I've been doing a bit of reading, but at this stage I'm very much still at the confused stage..

What i need is advice on how this is best achieved , do i need to use passport, or can I do this in sanctum ? once I know which is the best option then I can set off and learn all about how to implement it, Id rather know I'm heading down the correct path first, although i guess learning both of those is good experience either way!

many thanks in advance

Paul

0 likes
0 replies

Please or to participate in this conversation.