PHP Classes

Laravel Woocommerce Integration: Manipulate e-commerce objects with Woocommerce API

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 24 All time: 11,230 This week: 45Up
Version License PHP version Categories
laravel-woocommerce 1.0.0MIT/X Consortium ...5PHP 5, E-Commerce, Web services
Description 

Author

This package can manipulate e-commerce objects with Woocommerce API.

It provides a service and model classes to access the Web services API of a Woocommerce site from Laravel.

Currently, it can call WooCommerce API to access records of:

- Customers

- Orders

- Products

- Product variations

Innovation Award
PHP Programming Innovation award nominee
August 2023
Number 2
Woocommerce is a prevalent e-commerce application built on top of WordPress.

Woocommerce exposes API functions that API clients can call to manipulate objects of an e-commerce site like customers, products, orders, etc...

This package makes calling those Woocommerce API functions from a Laravel application easy.

Manuel Lemos
Picture of Stefan Ninic
Name: Stefan Ninic is available for providing paid consulting. Contact Stefan Ninic .
Classes: 8 packages by
Country: Bosnia and Herzegovina Bosnia and Herzegovina
Age: ???
All time rank: 37717 in Bosnia and Herzegovina Bosnia and Herzegovina
Week rank: 178 Up1 in Bosnia and Herzegovina Bosnia and Herzegovina Up
Innovation award
Innovation award
Nominee: 5x

Documentation

WooCommerce REST API PHP SDK For Laravel

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads

<a href="https://www.buymeacoffee.com/KgBot"><img src="https://img.buymeacoffee.com/button-api/?text=Buy me a beer&emoji=?&slug=KgBot&button_colour=5F7FFF&font_colour=ffffff&font_family=Cookie&outline_colour=000000&coffee_colour=FFDD00"></a>

Installation

  1. Require using composer
composer require kg-bot/laravel-woocommerce

In Laravel 5.5, and above, the package will auto-register the service provider. In Laravel 5.4 you must install this service provider.

  1. Add the WooCommerceServiceProvider to your `config/app.php` providers array.
<?php 
'providers' => [
    // ...
    \KgBot\WooCommerce\WooCommerceServiceProvider::class,
    // ...
]

  1. Copy the package config to your local config with the publish command:
php artisan vendor:publish --provider="KgBot\WooCommerce\WooCommerceServiceProvider"

  Files folder image Files (21)  
File Role Description
Files folder imagesrc (2 files, 6 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file readme.md Doc. Read me

  Files folder image Files (21)  /  src  
File Role Description
Files folder imageBuilders (5 files)
Files folder imageconfig (1 file)
Files folder imageExceptions (3 files)
Files folder imageModels (4 files)
Files folder imageTraits (1 file)
Files folder imageUtils (3 files)
  Plain text file WooCommerce.php Class Class source
  Plain text file WooCommerceServiceProvider.php Class Class source

  Files folder image Files (21)  /  src  /  Builders  
File Role Description
  Plain text file Builder.php Class Class source
  Plain text file CustomerBuilder.php Class Class source
  Plain text file OrderBuilder.php Class Class source
  Plain text file ProductBuilder.php Class Class source
  Plain text file ProductVariationBuilder.php Class Class source

  Files folder image Files (21)  /  src  /  config  
File Role Description
  Accessible without login Plain text file laravel-woocommerce.php Aux. Auxiliary script

  Files folder image Files (21)  /  src  /  Exceptions  
File Role Description
  Plain text file MethodNotImplemented.php Class Class source
  Plain text file WooCommerceClientException.php Class Class source
  Plain text file WooCommerceRequestException.php Class Class source

  Files folder image Files (21)  /  src  /  Models  
File Role Description
  Plain text file Customer.php Class Class source
  Plain text file Order.php Class Class source
  Plain text file Product.php Class Class source
  Plain text file ProductVariation.php Class Class source

  Files folder image Files (21)  /  src  /  Traits  
File Role Description
  Plain text file ApiFiltering.php Class Class source

  Files folder image Files (21)  /  src  /  Utils  
File Role Description
  Plain text file Model.php Class Class source
  Plain text file RateLimiterStore.php Class Class source
  Plain text file Request.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:24
This week:0
All time:11,230
This week:45Up