chrysanthos / laravel-wordpress-api
Simple laravel wrapper for wordpress rest api
Installs: 1 305
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: ^8.0|^8.1
- guzzlehttp/guzzle: ^6.3|^7.0
Requires (Dev)
- phpunit/phpunit: ^8.1|^9.0
README
This package allows you to get articles from your wordpress blog without interacting directly with the wordpress rest api and guzzle.
Available methods
It currently has only these two methods available (That's all I needed, let me know if you have any requests).
Get latest articles
WpApi::latest(10);
Get specific article
WpApi::post($slug);