shopper-kit.yaml manifest standardizes metadata (file structure, dependencies), enabling tooling support (e.g., IDE templates, CI/CD hooks).| Risk Area | Severity | Mitigation |
|---|---|---|
| Shopper Abstraction Leakage | High | Audit Shopper’s service providers for Laravel-specific assumptions (e.g., AppServiceProvider). Use interfaces to decouple. |
| Livewire/Alpine Dependencies | Medium | Test with Laravel’s default Livewire version (v3.x). Document version pinning. |
Manifest (shopper-kit.yaml) |
Low | Validate the manifest schema early; use a CI check to enforce structure. |
| Long-Term Maintenance | Medium | Monitor Shopper’s roadmap; budget for forks if upstream stalls. |
Laravel 10+
├── shopperlabs/shopper (v2.x)
│ ├── livewire/livewire (v3.x)
│ ├── alpinejs/alpine (v3.x)
│ └── spatie/laravel-permission (for roles/permissions)
└── shopperlabs/livewire-starter-kit (this package)
Pre-Integration:
composer require shopperlabs/shopper
php artisan shopper:install
Starter Kit Installation:
php artisan shopper:kit:install shopperlabs/livewire-starter-kit
php artisan migrate
npm install && npm run dev
routes/web.php) to extend the storefront.app/Http/Livewire/ProductGrid.php) for domain logic.Validation:
OrderCreated) integrates with existing services.APP_ENV=production has workers configured.config/filesystems.php if using S3.livewire:load doesn’t block SSR (use @preload or Alpine for critical content).| Phase | Tasks | Dependencies |
|---|---|---|
| Discovery | Evaluate Shopper vs. alternatives; define MVP features. | Business requirements. |
| Setup | Install Shopper; configure database, queues, and storage. | Laravel project. |
| Scaffolding | Install Livewire starter kit; review shopper-kit.yaml. |
Shopper installed. |
| Customization | Extend Livewire components; override views/templates. | Starter kit installed. |
| Testing | Validate performance, edge cases (e.g., abandoned carts), and integrations. | Custom code complete. |
| Deployment | Roll out with feature flags for critical paths (e.g., checkout). | Test environment validated. |
composer.json.shopper-kit.yaml for deprecated files/commands.php artisan shopper:debug
telescope for event/queue inspection.document.addEventListener('turbolinks:load', () => { /* ... */ });
app/Http/Kernel.php.How can I help you explore Laravel packages today?