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

NovikovAleksey's avatar

What is the best way to design third-party API wrappers in the Laravel?

I have a lot of experience in developing REST API services or implementing third-party API services to the PHP applications/frameworks, but I don't have proper experience in Laravel architecture at all.

I'm planning to add third-party integration to my Laravel application. So, how to properly structurize API wrappers in the Laravel application? Should a put them to the App folder or maybe each REST API wrapper class should be placed to the Services? Can someone share thoughts about it?

Thanks.

0 likes
0 replies

Please or to participate in this conversation.