PHP Classes

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

Recommend this page to a friend!
  Info   View files Documentation   View files View files (21)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Last Updated Ratings Unique User Downloads Download Rankings
2023-08-12 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 18 This week: 2All time: 11,036 This week: 48Up
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
Nominee
Vote
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 <contact>
Classes: 8 packages by
Country: Bosnia and Herzegovina Bosnia and Herzegovina
Innovation award
Innovation award
Nominee: 5x

Details

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  
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  /  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  /  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  /  src  /  config  
File Role Description
  Accessible without login Plain text file laravel-woocommerce.php Aux. Auxiliary script

  Files folder image Files  /  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  /  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  /  src  /  Traits  
File Role Description
  Plain text file ApiFiltering.php Class Class source

  Files folder image Files  /  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

 Version Control Unique User Downloads Download Rankings  
 100%
Total:18
This week:2
All time:11,036
This week:48Up