Pros:
Cons:
Laravel Compatibility:
tcg/voyager-bread, tcg/voyager-notifications).Database Schema:
roles, permissions, settings, media). Schema migrations must be reviewed for conflicts with existing models.Frontend Conflicts:
| Risk Area | Severity | Mitigation Strategy |
|---|---|---|
| Laravel Version Incompatibility | High | Test with Laravel 10.x; patch core files if needed. |
| Vue.js/Bootstrap Conflicts | Medium | Isolate Voyager assets in a micro-frontend or shadow DOM. |
| Security Vulnerabilities | Medium | Audit dependencies (composer audit); disable unused plugins. |
| Performance Bloat | Low | Lazy-load Voyager routes; optimize media handling. |
| Long-term Maintenance | Critical | Plan for migration to a maintained alternative (e.g., FilamentPHP) within 12–18 months. |
/admin with a separate Laravel sub-application.path() and asset() helpers to scope assets.resources/views/vendor/voyager/.data-voyager-app).// Merge Voyager’s roles/permissions into existing User model
Schema::table('users', function (Blueprint $table) {
$table->unsignedBigInteger('role_id')->nullable()->after('id');
});
auth:api vs. Voyager’s auth).| Component | Compatibility Risk | Resolution |
|---|---|---|
| Laravel 11+ | High | Downgrade or patch app/Http/Kernel.php, routes/web.php. |
| Vue 3 | Medium | Use Vue 2 compatibility mode or replace Vue components. |
| Bootstrap 5+ | Medium | Override SCSS variables or use a custom theme. |
| Livewire/Inertia | High | Avoid mixing; use Blade views for Voyager. |
| Custom Auth | Medium | Extend Voyager’s VoyagerServiceProvider to use custom guards. |
voyager-notifications) may be abandoned.composer why-not-update to track outdated dependencies.How can I help you explore Laravel packages today?