Looking to hire Laravel developers? Try LaraJobs

laravel-wooclient maintained by manuglopez

Description
Woocommerce api client for Laravel
Author
Last update
2022/04/01 19:09 (dev-main)
License
Links
Downloads
367

Comments
comments powered by Disqus

Laravel-Wooclient

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.