This creates a wrapper for the e-conomic REST API using morningtrain/economic package, and makes it easy to use in a WordPress application.
You can install the package via composer:
composer require morningtrain/wp-economic use MorningTrain\WordPress\Economic\Economic;
Economic::setup(
ECONOMIC_APP_SECRET_TOKEN,
ECONOMIC_GRANT_TOKEN);
Economic::useLogger(new fooLogger());composer testPlease see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.