Download the PHP package ollywarren/larawoo without Composer
On this page you can find all versions of the php package ollywarren/larawoo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ollywarren/larawoo
More information about ollywarren/larawoo
Files in ollywarren/larawoo
Package larawoo
Short Description Provide a simple elegant wrapper around the Woocommerce APi Library from Automattic.
License MIT
Homepage http://github.com/ollywarren/larawoo
Informations about the package larawoo
LaraWoo!
A Simple and Elegant Wrapper fro the Automattic WooCommerce PHP Library.
Introduction
This project started after the need to integrate WooCommerce with a Clients backoffice system was identified. The idea was to create a small Laravel/Lumen service to run externally to WooCOmmerce that took the data from the back office system and fed it into WooCommerce across the REST API Endpoints. On the flip side we needed to also pass data back the other way. We felt that having WordPress handle this internally could be more complex than just using a Laravel API Data Service to handle this functionality.
Installation Laravel 5.5 +
Just use composer to drop this package in and let Auto Discover do its wonderful thing!
Publish the vendor configuration:
(Select the relevant package from the list)
Set the environment variables in your Apps .env file:
Review the other avilable options in the documentation linked below and in the included larawoo configuration file.
Installation Laravel 5.4
Use composer to add it to your project dependencies:
Then inside your
Add the package service provider to the providers array:
Add the facade to the alias array:
Finally for good measure dump the composer autoloader to make sure we've pulled in the helper method:
Publish the vendor configuration:
Set the environment variables in your Apps .env file:
Usage Instructions
The included helper method makes accessing the underlying methods as easy as:
Or With the Facade if youd prefer
For a full breakdown of the available methods please see Automattic's Package Page for the library: