2 years ago

Help creating Wordpress pages from Laravel app

Posted 2 years ago by makapaka

I have a Wordpress site and within it, an automation folder which contains a Lumen app that I am using for processing backend stuff.

I would like to create Wordpress pages/posts from this Lumen app and I found this interesting blog article

which describes a way to do it without the rest api - authentication via the api looks like a pain so for the moment I am looking at this option, however this blog just talks about GETting posts, where I would like to create new pages entirely programmatically.

This blog article looks like he's able to run Wordpress functions like \WP_Query from Laravel - which is great, but I'm hoping someone with some experience might be able to verify you can also create data in a similar manner, before I go fully into this solution.


Please sign in or create an account to participate in this conversation.