PHPackages                             ollywarren/larawoo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ollywarren/larawoo

ActiveLibrary[API Development](/categories/api)

ollywarren/larawoo
==================

Provide a simple elegant wrapper around the Woocommerce APi Library from Automattic.

2.0(8y ago)0111MITPHP

Since Nov 22Pushed 8y agoCompare

[ Source](https://github.com/ollywarren/LaraWoo)[ Packagist](https://packagist.org/packages/ollywarren/larawoo)[ Docs](http://github.com/ollywarren/larawoo)[ RSS](/packages/ollywarren-larawoo/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

LaraWoo!
========

[](#larawoo)

[![Total Downloads](https://camo.githubusercontent.com/37544307f61c3aa783ec9f167cbbb1860d364204371f1add5b7d36075689c52a/68747470733a2f2f706f7365722e707567782e6f72672f6f6c6c7977617272656e2f6c617261776f6f2f646f776e6c6f616473)](https://packagist.org/packages/ollywarren/larawoo)[![Latest Stable Version](https://camo.githubusercontent.com/9e442a5cedea8112373034ff6ea1d7594ad9ea5d2dda65e706681f80e8eab475/68747470733a2f2f706f7365722e707567782e6f72672f6f6c6c7977617272656e2f6c617261776f6f2f762f737461626c65)](https://packagist.org/packages/ollywarren/larawoo)[![License](https://camo.githubusercontent.com/68cf9a23720c4841be6acf43e2b673e861ca293ad65f6ff6856f1522d117659b/68747470733a2f2f706f7365722e707567782e6f72672f6f6c6c7977617272656e2f6c617261776f6f2f6c6963656e7365)](https://packagist.org/packages/ollywarren/larawoo)

A Simple and Elegant Wrapper fro the Automattic WooCommerce PHP Library.

### Introduction

[](#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 +

[](#installation-laravel-55-)

Just use composer to drop this package in and let Auto Discover do its wonderful thing!

```
composer require ollywarren/larawoo
```

Publish the vendor configuration:

` php artisan vendor:publish` (Select the relevant package from the list)

Set the environment variables in your Apps .env file:

```
LARAWOO_URL=""
LARAWOO_CONSUMER_KEY=""
LARAWOO_CONSUMER_SECRET=""

```

Review the other avilable options in the documentation linked below and in the included larawoo configuration file.

Installation Laravel 5.4
------------------------

[](#installation-laravel-54)

Use composer to add it to your project dependencies:

`composer require ollywarren/larawoo`

Then inside your `config/app.php`

Add the package service provider to the providers array:

`Ollywarren\Larawoo\LaraWooServiceProvider::class,`

Add the facade to the alias array:

```
[
    'Larawoo' => 'Ollywarren\Larawoo\Facades\Larawoo::class'
]
```

Finally for good measure dump the composer autoloader to make sure we've pulled in the helper method:

`composer dump-autoloader`

Publish the vendor configuration:

` php artisan vendor:publish`

Set the environment variables in your Apps .env file:

```
LARAWOO_URL=""
LARAWOO_CONSUMER_KEY=""
LARAWOO_CONSUMER_SECRET=""

```

### Usage Instructions

[](#usage-instructions)

The included helper method makes accessing the underlying methods as easy as:

```
$results = larawoo()->get('customers');
// ['customers' => [[ 'id' => 8, 'created_at' => '2015-05-06T17:43:51Z', 'email' => ...
```

Or With the Facade if youd prefer

```
$results = Larawoo::get('customers');
// ['customers' => [[ 'id' => 8, 'created_at' => '2015-05-06T17:43:51Z', 'email' => ...
```

For a full breakdown of the available methods please see Automattic's Package Page for the library:

[WooCommerce API Library Packagist Package](https://packagist.org/packages/automattic/woocommerce)

[WooCommerce API Documentation](http://woocommerce.github.io/woocommerce-rest-api-docs/?php#introduction)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~85 days

Total

2

Last Release

3008d ago

Major Versions

1.0 → 2.02018-02-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/874eaf75ad53210f018e13fa297cba3d9da711549801c04156de6aac27ab28f9?d=identicon)[ollywarren](/maintainers/ollywarren)

---

Top Contributors

[![ollywarren](https://avatars.githubusercontent.com/u/24552652?v=4)](https://github.com/ollywarren "ollywarren (17 commits)")

---

Tags

laravelwordpresswoocommerce

### Embed Badge

![Health badge](/badges/ollywarren-larawoo/health.svg)

```
[![Health](https://phpackages.com/badges/ollywarren-larawoo/health.svg)](https://phpackages.com/packages/ollywarren-larawoo)
```

###  Alternatives

[codexshaper/laravel-woocommerce

WooCommerce Rest API for Laravel

207161.5k](/packages/codexshaper-laravel-woocommerce)[wp-graphql/wp-graphql-woocommerce

WooCommerce bindings for WPGraphQL

69146.8k](/packages/wp-graphql-wp-graphql-woocommerce)[pixelpeter/laravel5-woocommerce-api-client

Laravel 5 wrapper for the Woocommerce REST API

125103.4k](/packages/pixelpeter-laravel5-woocommerce-api-client)[ronasit/laravel-swagger

Provided middleware for generating of swagger-documentation file by run testing of restful API.

179124.9k2](/packages/ronasit-laravel-swagger)[madeitbelgium/wordpress-php-sdk

WordPress Laravel PHP SDK

4422.9k1](/packages/madeitbelgium-wordpress-php-sdk)[rickwest/laravel-wordpress-api

A Laravel read-only client for the WordPress REST API (v2)

3712.5k1](/packages/rickwest-laravel-wordpress-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
