https://github.com/chrysanthos/laravel-wordpress-api
Simple laravel wrapper for wordpress rest api
https://github.com/chrysanthos/laravel-wordpress-api
hacktoberfest laravel php wordpress
Last synced: 10 months ago
JSON representation
Simple laravel wrapper for wordpress rest api
- Host: GitHub
- URL: https://github.com/chrysanthos/laravel-wordpress-api
- Owner: chrysanthos
- License: mit
- Created: 2019-05-26T19:14:56.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-10-27T20:11:44.000Z (over 3 years ago)
- Last Synced: 2025-08-31T02:55:31.673Z (10 months ago)
- Topics: hacktoberfest, laravel, php, wordpress
- Language: PHP
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel wrapper for your wordpress site
[](https://github.com/chrysanthos/laravel-wordpress-api/releases)
[](https://packagist.org/packages/chrysanthos/laravel-wordpress-api)
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
```php
WpApi::latest(10);
```
### Get specific article
```php
WpApi::post($slug);
```