artisanpack-ui / ecommerce-storefront-inertia
Inertia storefront for the ArtisanPack UI ecommerce engine: routes, controllers and props for the React and Vue storefront front ends.
Package info
github.com/ArtisanPack-UI/ecommerce-storefront-inertia
Language:CSS
pkg:composer/artisanpack-ui/ecommerce-storefront-inertia
Requires
- php: ^8.3
- ext-intl: *
- artisanpack-ui/core: ^1.0
- artisanpack-ui/ecommerce: ^1.1
- artisanpack-ui/hooks: ^1.2
- artisanpack-ui/security: ^1.0.3|^2.0
- illuminate/support: ^12.0|^13.0
- inertiajs/inertia-laravel: ^2.0|^3.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-laravel: ^4.0
Suggests
- artisanpack-ui/media-library: Responsive product, variant, and category images from the media library's conversions.
- artisanpack-ui/seo: Meta tags and JSON-LD through the SEO package's schema collector (^1.4).
- artisanpack-ui/visual-editor: Commerce blocks and editable product/category templates (^1.8).
Provides
None
Conflicts
None
Replaces
None
README
The ArtisanPack UI ecommerce storefront for Inertia apps, with React and Vue front ends. It is the Inertia port of ecommerce-storefront-livewire and keeps the same pages, designs, routes and configuration.
Matches ecommerce-storefront-livewire 2.0.0 design.
The storefront ships as four packages that share one version number:
| Package | Registry | What it holds |
|---|---|---|
artisanpack-ui/ecommerce-storefront-inertia |
Composer (this repo) | Routes, controllers, props, registries, JSON routes, the install command, the root view and the satellite descriptor |
@artisanpack-ui/ecommerce-storefront-core |
npm (this repo, packages/ecommerce-storefront-core) |
Prop types, the storefront stylesheet, translations, money helpers, client hook names and registry contracts |
@artisanpack-ui/ecommerce-storefront-react |
npm (ecommerce-storefront-react) | The React pages, built on @artisanpack-ui/react |
@artisanpack-ui/ecommerce-storefront-vue |
npm (ecommerce-storefront-vue) | The Vue pages, built on @artisanpack-ui/vue |
Requirements
- PHP 8.3+, Laravel 12 or 13
artisanpack-ui/ecommerce1.1+- Optional:
artisanpack-ui/visual-editorandartisanpack-ui/cms-frameworkfor the storefront blocks and templates inertiajs/inertia-laravel2.x or 3.x
Installation
composer require artisanpack-ui/ecommerce-storefront-inertia php artisan ecommerce-storefront-inertia:install --stack=react
The install command publishes the config and the root view, and prints the npm packages, the Vite entry and the page-resolver lines to add. See the documentation (source in docs/).
Contributing
See CONTRIBUTING.md.
License
MIT. See LICENSE.