artisanpack-ui / ecommerce-admin-livewire
Livewire admin for the ArtisanPack UI ecommerce engine.
Package info
github.com/ArtisanPack-UI/ecommerce-admin-livewire
pkg:composer/artisanpack-ui/ecommerce-admin-livewire
Requires
- php: ^8.3
- ext-bcmath: *
- ext-intl: *
- artisanpack-ui/core: ^1.0
- artisanpack-ui/ecommerce: ^1.0
- artisanpack-ui/hooks: ^1.2
- artisanpack-ui/livewire-ui-components: ^2.1
- artisanpack-ui/security: ^1.0.3|^2.0
- illuminate/support: ^12.0|^13.0
- livewire/livewire: ^3.6|^4.0
Requires (Dev)
- artisanpack-ui/code-style: ^1.1
- artisanpack-ui/code-style-pint: ^1.1
- dealerdirect/phpcodesniffer-composer-installer: ^1.0
- friendsofphp/php-cs-fixer: ^3.75
- laravel/pint: ^1.26
- orchestra/testbench: ^10.2|^11.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-browser: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- pestphp/pest-plugin-livewire: ^4.0
- rebing/graphql-laravel: ^9.0|^10.0
Suggests
- artisanpack-ui/accessibility: Contrast warnings for sub-status and kanban column colours.
- artisanpack-ui/cms-framework: Renders the admin inside the CMS admin layout, joins the CMS menu, and registers engine abilities as RBAC permissions.
- artisanpack-ui/ecommerce-kanban-livewire: Adds "Open board" links from order detail and kanban settings.
- artisanpack-ui/icons: Icon pickers for categories and order sub-statuses.
- artisanpack-ui/media-library: Pick product, variant, and category images through the media modal.
- barryvdh/laravel-dompdf: PDF table export.
- phpoffice/phpspreadsheet: XLSX table export.
- rebing/graphql-laravel: Required for real-time admin updates (the engine registers the `ecommerce.admin` broadcast channel only when it is installed).
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-06 18:41:33 UTC
README
A Livewire admin for the artisanpack-ui/ecommerce engine, built on
artisanpack-ui/livewire-ui-components. It covers orders,
reviews, products, categories, tags, inventory, digital files, license keys, customers, promotions and coupons,
shipping, tax, reports, notification templates, webhooks, order statuses, kanban boards, and store settings. It renders
inside the cms-framework admin when that package is installed, and as a standalone admin otherwise. Every screen and
action checks the engine's abilities, and other packages extend it through registries and filters.
Screenshots
Requirements
- PHP 8.3+ with
bcmath - Laravel 12 or 13
- Livewire 3.6+ or 4
artisanpack-ui/ecommerce1.0artisanpack-ui/livewire-ui-components2.1- Tailwind CSS 4 and daisyUI 5 (
~5.0) in your application's Vite build
Optional: artisanpack-ui/cms-framework, artisanpack-ui/media-library, artisanpack-ui/icons,
artisanpack-ui/accessibility, artisanpack-ui/ecommerce-kanban-livewire, phpoffice/phpspreadsheet (XLSX export),
barryvdh/laravel-dompdf (PDF export). See Requirements.
Installation
composer require artisanpack-ui/ecommerce-admin-livewire php artisan ecommerce-admin:install
The install command publishes config/artisanpack/ecommerce-admin-livewire.php, prints the front-end steps, and, with
cms-framework, registers RBAC permissions and a shop-manager role.
Quick start
-
Grant access. The engine denies every ability by default, so every screen returns 403 until you grant access. In a service provider's
boot():Gate::define( 'ecommerce.admin', fn ( $user ) => $user->is_admin );
Or define individual
ecommerce.{resource}.{action}abilities, or assign theshop-managerrole withcms-framework. See Authorization. -
Open the admin at
/ecommerce-admin(theadmin.route_prefixconfig key). -
Optionally seed a demo store on a development database:
php artisan ecommerce:seed-demo
Add your 2FA middleware to admin.middleware. Neither the engine nor the admin applies it.
Front-end setup
The package ships no CSS or JavaScript build. In your application:
-
Add the
@sourcelines the install command prints to your Tailwind entry:@source "../../vendor/artisanpack-ui/ecommerce-admin-livewire/resources/views/**/*.blade.php"; @source "../../vendor/artisanpack-ui/ecommerce-admin-livewire/src/**/*.php";
-
Install and import the scripts the components need:
npm install @artisanpack-ui/livewire-drag-and-drop apexcharts flatpickr
Import
@artisanpack-ui/livewire-drag-and-drop, setwindow.ApexChartsandwindow.flatpickr, and import the component library'ssparkline.jsandtinymce-editor.js. -
Publish TinyMCE for the description editor with
php artisan vendor:publish --tag=artisanpack-assetsand load/vendor/artisanpack-ui/js/tinymce/tinymce.min.js. -
Pin
daisyuito~5.0. Later releases leave the component library's tab panels empty (livewire-ui-components#119).
The layout loads your resources/css/app.css and resources/js/app.js. See
Front-End Setup for the full steps and a working reference.
Documentation
- Documentation home
- Quick start guide
- Installation: requirements, configuration, front-end setup, layouts
- Usage: screens, dashboard, command palette, real-time updates, product CSV
- Authorization
- Extending and the hooks reference
- Accessibility and localization
- Advanced: Artisan commands, browser tests
- FAQ and troubleshooting
Contributing
As an open source project, this package is open to contributions from anyone. Please read through the contributing guidelines to learn more about how you can contribute to this project.
composer test # unit and feature tests composer lint # php-cs-fixer (dry run) and phpcs composer test:browser # browser suite; see docs/advanced/browser-tests.md composer ecommerce:verify-satellite # the engine's satellite contract verification
License
The MIT License. See LICENSE for details.



