arnaugm/band-accounting-bundle
StofDoctrineExtensionsBundle (e.g., for timestampable entities), which is Symfony-specific. Laravel alternatives (e.g., Eloquent observers, traits) would need to replace these.timestampable behavior) would need adaptation to Laravel’s Eloquent or raw migrations./admin/accounting route. Laravel’s admin panel (e.g., Backpack, Nova, or custom) would need to replace or extend this functionality.timestampable) must be adapted.| Component | Current (Symfony 2.x) | Target (Laravel) | Migration Strategy |
|---|---|---|---|
| Routing | Symfony routing.yml |
Laravel routes/web.php |
Rewrite routes manually or use a route generator script. |
| Controllers | Symfony Controllers | Laravel Controllers | Refactor action methods; replace Symfony dependencies (e.g., Container → app()). |
| Forms | Symfony Form Component | Laravel Form Requests | Replace FormBuilder with Laravel validation rules or custom form classes. |
| Templates | Twig | Blade | Rewrite templates; replace Twig extensions with Blade directives or helpers. |
| ORM | Doctrine ORM (v2.3) | Eloquent | Convert entities to Eloquent models; rewrite DQL queries to Eloquent queries. |
| Extensions | Stof Doctrine Extensions | Eloquent Observers/Traits | Replace timestampable with Eloquent model events or accessors/mutators. |
| Frontend Assets | Grunt/NPM | Laravel Mix/Vite | Rebuild assets in Laravel’s ecosystem; migrate JS/CSS to Vite/Webpack. |
| Admin Panel | Custom Symfony routes | Laravel Admin Package (e.g., Nova) | Replace with a Laravel admin package or build a Livewire/Inertia.js dashboard. |
| Testing | PHPUnit (Symfony) | Pest/PhpUnit (Laravel) | Rewrite tests using Laravel’s testing helpers (e.g., actingAs, assertDatabase). |
transactions, bands) can be migrated with minimal changes.Phase 1: Assessment & Extraction (2-4 weeks)
Phase 2: Laravel Backend Integration (4-8 weeks)
Phase 3: Frontend Rebuild (3-6 weeks)
**
How can I help you explore Laravel packages today?