A Wordpress REST API client for Laravel.
Execute the following command to get the latest version of the package:
$ composer require ammonkc/laravel-wp-api
ServiceProvider will be attached automatically
In your config/app.php
add Ammonkc\WpApi\WpApiServiceProvider::class
to the end of the providers
array:
'providers' => [
...
Ammonkc\WpApi\WpApiServiceProvider::class,
],
Publish Configuration
php artisan vendor:publish --provider "Ammonkc\WpApi\WpApiServiceProvider"
- 1.0.0
This project is open-sourced software licensed under the MIT license
Is very likely you'll need to install this package locally to test the integration. You can do so by adding the follow to the composer.json
file in your laravel project.
"repositories": [
{
"type": "path",
"url": "path/to/package/folder"
}
],
Then, in your laravel project root path you can just run:
$ composer require namespace/package-name
This package leverages vnn/wordpress-rest-api-client with added enhancements for laravel