Simple Wordpress accessor for PHP/Laravel projects. Now one can use Wordpress as CMS for Laravel application.
You can install the package via composer:
composer require apsg/wordpressor
You can publish the config file with:
php artisan vendor:publish --tag=wordpressor-config
This is the contents of the published config file:
return [
'url' => env('WORDPRESS_URL'),
'cache' => true,
];
$posts = (new Wordpressor)
->posts()
->take(3)
->getTransformed();
$image = (new Wordpressor())
->media()
->get($mediumId);
composer test
Please see CHANGELOG for more information on what has changed recently.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.