chrysanthos / laravel-wordpress-api
Simple laravel wrapper for wordpress rest api
Package info
github.com/chrysanthos/laravel-wordpress-api
pkg:composer/chrysanthos/laravel-wordpress-api
0.4.0
2022-10-27 20:10 UTC
Requires
- php: ^8.0|^8.1
- guzzlehttp/guzzle: ^6.3|^7.0
Requires (Dev)
- phpunit/phpunit: ^8.1|^9.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-08-29 02:11:39 UTC
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);