sunrice / commerce
An e-commerce package for Sunrice CMS: catalog, cart, checkout, orders, payments, shipping, promotions and customer accounts.
Requires
- php: ^8.4
- dompdf/dompdf: ^3.1
- illuminate/contracts: ^13.0
- illuminate/support: ^13.0
- intervention/image: ^3.0
- laravel/socialite: ^5.31
- spatie/laravel-one-time-passwords: ^1.1
- spatie/laravel-package-tools: ^1.93
- sunrice/admin: ^0.8
- sunrice/cms: ^0.8
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.0
- orchestra/testbench: ^11.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-laravel: ^4.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- v0.4.0
- v0.3.1
- v0.3.0
- v0.2.0
- v0.1.0
- dev-task/product-collection-order
- dev-task/ecosystem-compatibility
- dev-task/accounts-only
- dev-ccr-c6d1987f-0nsyk3
- dev-vibe/download-url-scheme-rich-text-sanitize-13d1c6
- dev-task/gift-card-paid-value
- dev-task/late-payment-after-cancel
- dev-task/manual-order-permissions
- dev-task/cart-owner-check
- dev-task/account-prehijack
- dev-claude/sunrice-account-package-g9itcw
- dev-task/dashboard-report-layout
- dev-task/payment-checkout-logos
- dev-task/checkout-payment-session
- dev-task/checkout-verified-account
- dev-ccr-a5b29550-kh1grp
- dev-task/QA59-account-order-category-filter
- dev-task/QA48-admin-polish
- dev-task/QA49-catalog-view-controls
- dev-task/QA47-storefront-polish
- dev-task/QA46-digital-quantity-address
- dev-fix/stock-message-static-analysis
- dev-fix/out-of-stock-customer-message
- dev-task/QA43-product-editor-content
- dev-task/QA42-guest-checkout-order-access
- dev-task/QA36-protect-storefront-orders
- dev-task/QA35-visible-checkout-voucher
- dev-task/QA34-checkout-address-title
- dev-task/QA33-filter-checkbox-zoom
- dev-task/QA29-account-orders-announcement
- dev-task/QA30-verified-reviews
- dev-task/QA31-product-sticky-boundary
- dev-task/QA32-continue-shopping
- dev-task/QA28-storefront-rules-and-audit
- dev-task/QA26-wishlist-compare-shortcuts
- dev-task/QA22-compact-cart
- dev-task/R8-csv-create
- dev-task/R7-release-retries
- dev-task/R6-shipping-origins
- dev-task/R5-admin-order-scopes
- dev-task/R4-catalog-filters
- dev-task/R2-deposits
- dev-task/R3-line-details
- dev-task/R1-cart-line-meta-identity
- dev-ccr-1ebc2abf-f5ky5k
- dev-fix/install-requires-panel
This package is auto-updated.
Last update: 2026-11-27 01:57:04 UTC
README
An e-commerce package for Sunrice CMS: catalog (simple, variable, bundle, physical, digital products), cart and checkout, orders, payments (bank transfer with confirmation, QRIS, COD, gateway packages), shipping (zones, Indonesian regions), promotions (pricing rules, flash sales, vouchers), customer accounts (built on sunrice/account: password, emailed codes, Google), invoices and packing slips, store analytics and MCP tools — with every feature switchable from Settings → Store.
Quick start
composer require sunrice/commerce php artisan sunrice:install --plugins # the Sunrice panel, with the Accounts and Commerce plugins on it php artisan account:install # customer accounts (sunrice/account, installed with commerce) php artisan commerce:install --demo
Your panel provider ends up with both plugins; add the Users screen that lists staff only:
$panel->userResource(AccountUserResource::class) ->plugin(CmsPlugin::make())->plugin(AccountPlugin::make())->plugin(CommercePlugin::make());
Every order belongs to a customer account: visitors browse and fill a cart freely, and sign in (one email field, with an emailed code) when they check out.
Then run the scheduler and a queue worker, set up mail, and open the admin → Shop → Dashboard: a checklist leads you through the rest. Details in docs/installation.md.
Requirements are PHP 8.4+, Laravel 13, Sunrice Admin and CMS 0.8.1+,
sunrice/account 0.2.1+ and SQLite, MySQL or PostgreSQL. The admin bundle is prebuilt.
Documentation
| Setup | Installation · Configuration · Upgrading · Commands |
| Modules | Features · Catalog · Pricing |
| Selling | Checkout · Orders · Payments · Shipping · Regions |
| Customers and output | Accounts · Emails · Marketing emails · Documents |
| Storefront | Templates · Blade components · Helpers · Interface audit |
| Insights and integrations | Analytics · AI agents · Webhooks |
| Extending | Extending · Building an extension package |
Design documents
| Document | Purpose |
|---|---|
| SPEC.md | Behaviour: what the store does |
| ARCHITECTURE.md | Design: modules, data model, pipelines, contracts, upstream CMS changes |
| EXECUTION_PLAN.md | Ordered tasks with dependencies and done criteria |
| AGENTS.md | Rules for contributors and AI agents |
| CHANGELOG.md | Changes per release |
License
MIT.