manuglopez/laravel-wooclient

Woocommerce api client for Laravel

v1.0.0 2022-03-31 17:56 UTC

This package is auto-updated.

Last update: 2024-05-29 04:22:43 UTC


README

Software License Total Downloads php-cs-fixer phpstan Tests

This Laravel package offer a wrapper for https://github.com/woocommerce/wc-api-php

Install

composer require manuglopez/laravel-wooclient

Usage

Before using this client you will need to publish config file.

php artisan vendor:publish --provider="Manuglopez\LaravelWooclient\LaravelWooclientServiceProvider"

Values are expected to find in your .env file with apropiate key and credentials

After that you can use the Facade as

LaravelWooclientFacade::get('/woocommerce_endpoint', [])

Testing

Run the tests with:

vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security-related issues, please email mglopez@me.com instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.