if you have access to the database, you could look at the package corcel
Mar 5, 2021
2
Level 5
Fetch Wordpress posts and other details and display in laravel admin
i want to fetch the wordpress posts, count and other details and display in laravel admin dashboard where admin can see the posts. i have two options to do this
- using default REST api. example : https://www.example.com/wp-json/wp/v2/posts
using Guzzle fetch details of above api
- creating new db configuration in laravel and create new connection and fetch details.
which way is better when considering the security and speed
Also i should work on API for mobile APP too. shall i share the same default wordpress API for mobile app too?
Any suggestions?
Please or to participate in this conversation.