Download the PHP package madbox-99/filament-woocommerce without Composer
On this page you can find all versions of the php package madbox-99/filament-woocommerce. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download madbox-99/filament-woocommerce
More information about madbox-99/filament-woocommerce
Files in madbox-99/filament-woocommerce
Package filament-woocommerce
Short Description WooCommerce integration plugin for Filament v5 — sync WooCommerce products, categories, customers, and orders into any Laravel/Filament CRM via configurable model mapping. Multi-store capable.
License MIT
Informations about the package filament-woocommerce
Filament WooCommerce
WooCommerce integration plugin for Filament v5. Pulls products + categories, customers, and orders from one or more WooCommerce stores into any Laravel/Filament CRM via configurable model mapping.
- Laravel 11 / 12 / 13
- Filament v4 / v5
- PHP 8.3+
- One-way sync: WooCommerce → host app
- Multi-store: manage several WooCommerce stores from one Filament panel
- Multi-tenant friendly: auto-populate
team_id/organization_id/ any tenant column on synced records
Installation
Register the plugin on your Filament panel:
Configuration
Edit config/filament-woocommerce.php and point each entity at a host-app model:
Add the HasWooMapping trait to each mapped model:
HasWooMapping adds a polymorphic relation to the woo_mappings table — no extra columns required on your own models.
Multi-tenant apps
If your host app scopes records by team_id, organization_id, account_id, …, tell the plugin which column to populate and the syncer will fill it on every new record it creates — and skip global scopes when resolving existing mappings, so queue workers can find records without an authenticated tenant context.
Each store then stores its own tenant_id, assigned when you create the store in the UI. The syncer auto-populates team_id = store.tenant_id on newly created Products / Customers / Orders — but never overwrites an existing record's tenant.
Usage
Add a store
Go to WooCommerce → Stores in your Filament panel and create a new store with the site URL, consumer key, and consumer secret from WP Admin → WooCommerce → Settings → Advanced → REST API.
Click Test to verify the connection.
Sync
From the panel: click Sync now on a store row.
From the CLI:
The scheduler can run sync automatically — enable it in config (on by default, hourly).
Lookups
How mapping works
- Each remote record has a unique
external_idfrom WooCommerce. - When the syncer persists a local record, it creates/updates a row in
woo_mappingslinking the remote ID ↔ the local model (polymorphic). - Re-syncing re-uses the existing mapping, so records are updated in place rather than duplicated.
- Cross-entity links (e.g. order → customer, product → category) resolve via mapping lookups at sync time.
Testing
License
MIT
All versions of filament-woocommerce with dependencies
laravel/framework Version ^11.0 || ^12.0 || ^13.0
filament/filament Version ^4.0 || ^5.0