synapse-core (another package by the same author) implies monolithic integration risk—both must be evaluated together. If synapse-core is Laravel-compatible, this package may work; otherwise, a rewrite or proxy layer would be needed.Route::prefix('synapse/admin')->group(...)).spatie/laravel-twig).access_control in security.yaml must be replicated in Laravel’s auth middleware or gates.synapse-core and Symfony may force rewrites of critical components (e.g., DatabaseConfigProvider).synapse-core’s Laravel compatibility first.DefaultPermissionChecker and AdminSecurityTrait must be ported to Laravel’s gates/policies.ROLE_ADMIN (e.g., app/Http/Middleware/AdminMiddleware).synapse_admin domain) needs replacement with Laravel’s translation manager.php artisan translate:load and adapt translation files.synapse-core Laravel-compatible?
SynapseAdminServiceProvider).access_control with Laravel’s AdminMiddleware.spatie/laravel-twig (with performance tradeoffs).AssetMapper with Laravel’s asset helpers.synapse-core and synapse-admin via Composer.routes.yaml to Laravel’s web.php).DatabaseConfigProvider).Route::prefix('synapse/admin')->middleware(['web', 'auth', 'admin'])->group(function () {
Route::get('/', [SynapseAdminController::class, 'dashboard']);
Route::resource('presets', PresetController::class);
// ... other routes
});
PresetResource, ProviderResource).PresetManagement Livewire component for CRUD.spatie/laravel-twig and configure it to render @Synapse templates.DefaultPermissionChecker with Laravel’s gates/policies.resources/lang structure.Gate::define('access-admin', function ($user) {
return $user->hasRole('admin');
});
| Feature | Compatibility | Workaround |
|---|---|---|
| Symfony Routes | ❌ No | Manual mapping in routes/web.php |
| Twig Templates | ⚠️ Partial (via spatie/laravel-twig) |
Convert to Blade or use Inertia.js |
| Stimulus.js | ❌ No | Alpine.js/Livewire/Inertia.js |
| Doctrine ORM | ❌ No | Eloquent or DBAL layer |
| Symfony Security | ❌ No | Laravel middleware/gates |
| Webpack Encore | ❌ No | Laravel Mix/Vite |
| Translation System | ⚠️ Partial | Laravel’s translation manager |
synapse-core works in Laravel.How can I help you explore Laravel packages today?