- Can I use **baks-dev/delivery-transport** directly in a Laravel project without Symfony?
- No, this package is a Symfony bundle requiring Doctrine ORM, Console, and Dependency Injection. Laravel’s Eloquent and Artisan are incompatible by default. You’d need to bridge Doctrine to Eloquent (e.g., via `fruitcake/laravel-doctrine`) or isolate it in a separate service.
- What Laravel versions support this package?
- The package requires PHP 8.4+, but Laravel compatibility depends on your setup. PHP 8.4 features like named arguments may conflict with older Laravel versions. Test thoroughly, especially if using Symfony components alongside Laravel’s core.
- How do I run Doctrine migrations in Laravel?
- Doctrine migrations won’t work natively in Laravel. Options include manually converting them to Eloquent migrations, maintaining dual schemas (Doctrine + Eloquent), or using a hybrid ORM setup. Test schema changes in staging first.
- Is this package actively maintained?
- No, the last update was in **July 2026**, and it has **0 stars**. This is a critical risk—consider forking immediately or evaluating alternatives like `spatie/laravel-model-states` for simpler fleet management.
- Can I use Symfony’s `bin/console` commands in Laravel?
- No, you’ll need to proxy Symfony commands through Artisan. For example, wrap `baks:assets:install` in a custom Artisan command. This adds complexity and requires manual handling of Symfony’s Console component.
- Does this package support SQLite or other databases?
- No, it assumes **PostgreSQL/MySQL**. SQLite or alternative databases would require custom schema adjustments or a separate abstraction layer, increasing maintenance overhead.
- How do I test this package in Laravel?
- The PHPUnit tests are Symfony-specific. You’ll need to extend them for Laravel compatibility, including mocking Doctrine dependencies and testing integration points like Eloquent-Doctrine sync. Run tests with `--group=delivery-transport`.
- What are the alternatives for Laravel fleet management?
- For simpler needs, consider `spatie/laravel-model-states` for vehicle statuses or custom Eloquent models. For full logistics, evaluate dedicated Laravel packages like `spatie/laravel-activitylog` (for tracking) or build a tailored solution.
- Will this package slow down Laravel upgrades?
- Yes, Symfony dependencies (e.g., Doctrine, Console) may block Laravel version updates. Isolate the package in a microservice or plan for long-term maintenance of Symfony components alongside Laravel.
- How do I handle data migration from Doctrine to Eloquent?
- Option A: Manually rewrite Doctrine entities as Eloquent models and convert migrations. Option B: Use dual-write (sync data between both ORMs), but this adds complexity. Test thoroughly in staging before production.