{"id":18036592,"url":"https://github.com/codexshaper/woocommerce-php-sdk","last_synced_at":"2025-07-18T16:37:28.100Z","repository":{"id":56955859,"uuid":"262981821","full_name":"Codexshaper/woocommerce-php-sdk","owner":"Codexshaper","description":"WooCommerce PHP SDK","archived":false,"fork":false,"pushed_at":"2020-05-11T12:00:14.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-08T21:43:40.702Z","etag":null,"topics":["php","rest","sdk","woocommerce"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Codexshaper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-11T08:19:47.000Z","updated_at":"2020-05-11T11:59:15.000Z","dependencies_parsed_at":"2022-08-21T08:50:34.555Z","dependency_job_id":null,"html_url":"https://github.com/Codexshaper/woocommerce-php-sdk","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/Codexshaper/woocommerce-php-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codexshaper%2Fwoocommerce-php-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codexshaper%2Fwoocommerce-php-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codexshaper%2Fwoocommerce-php-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codexshaper%2Fwoocommerce-php-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Codexshaper","download_url":"https://codeload.github.com/Codexshaper/woocommerce-php-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Codexshaper%2Fwoocommerce-php-sdk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265793684,"owners_count":23829180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","rest","sdk","woocommerce"],"created_at":"2024-10-30T12:13:42.222Z","updated_at":"2025-07-18T16:37:28.080Z","avatar_url":"https://github.com/Codexshaper.png","language":"PHP","readme":"[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://badges.mit-license.org)\n[![Build Status](https://travis-ci.org/Codexshaper/laravel-woocommerce.svg?branch=master)](https://travis-ci.org/Codexshaper/woocommerce-php-sdk)\n[![StyleCI](https://github.styleci.io/repos/262981821/shield?branch=master)](https://github.styleci.io/repos/262981821)\n[![Quality Score](https://img.shields.io/scrutinizer/g/Codexshaper/woocommerce-php-sdk.svg?style=flat-square)](https://scrutinizer-ci.com/g/Codexshaper/woocommerce-php-sdk)\n[![Downloads](https://poser.pugx.org/Codexshaper/woocommerce-php-sdk/d/total.svg)](https://packagist.org/packages/Codexshaper/woocommerce-php-sdk)\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/Codexshaper/woocommerce-php-sdk.svg?style=flat-square)](https://packagist.org/packages/Codexshaper/laravel-woocommerce)\n\n# Description\nWooCommerce Rest API for Laravel. You can Get, Create, Update and Delete your woocommerce product using this package easily.\n\n[Documentation](https://codexshaper.github.io/docs/laravel-woocommerce/)\n\n## Authors\n\n* **Md Abu Ahsan Basir** - [github](https://github.com/maab16)\n\n## License\n\n- **[MIT license](http://opensource.org/licenses/mit-license.php)**\n- Copyright 2020 © \u003ca href=\"https://github.com/Codexshaper/laravel-woocommerce/blob/master/LICENSE\" target=\"_blank\"\u003eCodexShaper\u003c/a\u003e.\n\n# Eloquent Style for Product, Customer and Order\n\n```\n// Where passing multiple parameters\n$products = Product::where('title','hello')-\u003eget();\nOR\n// You can call field with where clause\n$products = Product::whereTitle('hello')-\u003eget();\n// Fields name are more than one words or seperate by underscore (_). For example field name is `min_price`\n$products = Product::whereMinPrice(5)-\u003eget();\n\n// Where passing an array\n$orders = Order::where(['status' =\u003e 'processing']);\n$orders = Order::where(['status' =\u003e 'processing', 'orderby' =\u003e 'id', 'order' =\u003e 'asc'])-\u003eget();\n\n// Set Options\n$orders = Order::options(['status' =\u003e 'processing', 'orderby' =\u003e 'id', 'order' =\u003e 'asc'])-\u003eget();\n\n// You can set options by passing an array when call `all` method\n$orders = Order::all(['status' =\u003e 'processing', 'orderby' =\u003e 'id', 'order' =\u003e 'asc']);\n```\n#Product Options: https://woocommerce.github.io/woocommerce-rest-api-docs/#products\n\n#Customer Options: https://woocommerce.github.io/woocommerce-rest-api-docs/#customers\n\n#Order Options: https://woocommerce.github.io/woocommerce-rest-api-docs/#orders\n\n# You can also use ```WooCommerce``` Facade\n\n```\nuse Codexshaper\\WooCommerce\\Facades\\WooCommerce;\n\npublic function products()\n{\n  return WooCommerce::all('products');\n}\n\npublic function product( Request $request )\n{\n  $product = WooCommerce::find('products/'.$request-\u003eid);\n}\n\npublic function orders()\n{\n  return WooCommerce::all('orders');\n}\n\npublic function order( Request $request )\n{\n  $order = WooCommerce::all('orders/'.$request-\u003eid);\n}\n\npublic function customers()\n{\n  return WooCommerce::all('customers');\n}\n\npublic function customer( Request $request )\n{\n  $customer = WooCommerce::all('customers/'.$request-\u003eid);\n}\n```\n\n# Use Facade Alias\n\n```\nuse WooCommerce // Same as use Codexshaper\\WooCommerce\\Facades\\WooCommerce;\nuse Customer // Same as use Codexshaper\\WooCommerce\\Models\\Customer;\nuse Order // Same as use Codexshaper\\WooCommerce\\Models\\Order;\nuse Product // Same as Codexshaper\\WooCommerce\\Models\\Product;\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodexshaper%2Fwoocommerce-php-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodexshaper%2Fwoocommerce-php-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodexshaper%2Fwoocommerce-php-sdk/lists"}