Expand description
PHP bindings for StateSet Embedded Commerce
Provides a local-first commerce library with SQLite storage for PHP.
<?php
use StateSet\Commerce;
$commerce = new Commerce("./store.db");
$customer = $commerce->customers()->create("alice@example.com", "Alice", "Smith");Structs§
- Accounts
Payable - Accounts
Receivable - Analytics
- Backorders
- Bill
OfMaterials - BomApi
- BomComponent
- Cart
- Cart
Item - Carts
- Commerce
- Cost
Accounting - Credit
Api - Currency
Ops - Customer
- Customers
- Exchange
Rate - Fulfillment
- General
Ledger - Inventory
- Inventory
Item - Invoice
- Invoices
- Lots
- Order
- Order
Item - Orders
- Payments
- Product
- Product
Variant - Products
- Promotion
- Promotions
- Purchase
Order - Purchase
Orders - Quality
- Receiving
- Return
- Returns
- Sales
Summary - Serials
- Shipment
- Shipments
- Subscription
- Subscription
Plan - Subscriptions
- Supplier
- Tax
- TaxJurisdiction
- TaxRate
- Warehouse
Api - Warranties
- Warranty
- Warranty
Claim - Work
Order - Work
Orders