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

Charrua's avatar

Populate WordPress with external API, Laravel? Lumen? Laravel Zero?

Hello, I need to develop a tool that will consume an external API and inject data as posts everyday on a WordPress website, using the WP REST API.

This tool is the "connector" between the external API and WordPress. So I'm thinking in using Lumen or Laravel Zero (console app) or even Laravel framework.

The main issue is that I have never before do this job, so I'm wondering if you can tell me some advise.

In my head this sort of "connector tool" sounds good, but maybe is not the best solution... Any ideas? Thank you.

0 likes
1 reply
SteamDiesel's avatar
Level 6

Hey @charrua, I'm using Laravel Framework for my own API layer to communicate with other APIs. My front end UI for users to interact with is a Vuejs SPA hosted separately to the Laravel server.

I use this Laravel server to keep all data and external API keys out of the Javascript front end which would expose all those keys to the public.

I don't know much about your project, but it seems like you could just deploy a full-fat Laravel application. You may enjoy having the easy ability to build in some UI pages for convenience in the future. Will you be establishing the Laravel app as an API endpoint itself?

Anyway, to get started, you should play with guzzleHTTP in Laravel, and get Postman for testing your API calls. And, of course use Laravel passport if you intend to establish this app as an endpoint.

Let me know what you think

1 like

Please or to participate in this conversation.