elao/html-action-bundle
Symfony bundle adding HTML CRUD and list actions for ElaoAdminBundle. Configure html_list/create/read/update/delete to generate admin routes and forms with optional security rules, providing ready-to-use backend pages for your entities.
elao/admin-bundle by providing HTML-based actions (e.g., buttons, links, or UI components) for administrative interfaces. If your Laravel/PHP application relies on Symfony bundles (e.g., legacy Symfony2/3 integrations) or a Symfony-based admin panel, this package may fit as a UI extension layer. However, Laravel’s native ecosystem (Blade templates, Livewire, Inertia.js) makes direct adoption unlikely without abstraction.elao/admin-bundle, suggesting it assumes a Symfony-centric architecture. Laravel’s service container, routing, and templating systems differ significantly, requiring adapters or wrappers for compatibility.Symfony/Bundle, Symfony/DependencyInjection), which are not natively supported in Laravel. Integration would require:
symfony/console for CLI tools, but not core framework dependencies).Action system to Laravel’s controllers/middleware.elao/admin-bundle likely assumes Doctrine. Laravel’s Eloquent would need adapters for shared functionality (e.g., CRUD actions).{{ action('...') }} syntax.| Risk Area | Severity | Mitigation Strategy |
|---|---|---|
| Symfony-Laravel Gap | High | Abstract core functionality via facades or micro-services. |
| Deprecated Package | High | Last release in 2017; risk of breaking changes in Symfony 6+/Laravel 10+. |
| Twig Dependency | Medium | Replace Twig templates with Blade or Inertia.js (Vue/React). |
| Undocumented API | Medium | Reverse-engineer usage via elao/admin-bundle or fork for Laravel compatibility. |
| Maintenance Overhead | High | Low community activity; expect custom fixes for Laravel integration. |
spatie/laravel-permission + custom Blade components) that achieve the same goal?symfony/dependency-injection as a standalone service container (not recommended for new projects).elao/admin-bundle dependencies to identify critical Symfony features (e.g., ACL, CRUD helpers).Action → Laravel’s Route::post('/action', [ActionController::class, 'handle'])).HtmlActionService wrapping bundle logic).// app/Providers/HtmlActionServiceProvider.php
public function register()
{
$this->app->singleton(HtmlActionService::class, function ($app) {
return new HtmlActionService(new SymfonyContainerAdapter());
});
}
@component('admin.action-button', ['url' => route('admin.delete'), 'label' => 'Delete'])
@endcomponent
doctrine/dbal as a read-only adapter for queries.| Component | Laravel Equivalent | Notes |
|---|---|---|
Symfony Action |
Laravel Form Request + Controller |
Use middleware for auth/validation. |
| Twig Templates | Blade/Inertia.js | Rewrite or use @include for shared logic. |
| Doctrine ORM | Eloquent | Avoid mixing; use repositories. |
| Event Dispatcher | Laravel Events | Replace EventDispatcher with event(new ActionEvent()). |
| Dependency Injection | Laravel Service Container | Use bind() or app()->make(). |
SymfonyContainerAdapter).ContainerNotFoundException) will require deep Symfony knowledge.elao/admin-bundle changes (unlikely, but possible).| Scenario | Impact | Mitigation |
|---|---|---|
| Symfony Dependency Breaks | App crashes on action routes. | Isolate in a separate service. |
| Twig Template Errors | UI rendering fails. | Replace with Blade incrementally. |
| Doctrine/Eloquent Mismatch | Data operations fail. | Use read adapters for queries. |
| Laravel Upgrade In |
How can I help you explore Laravel packages today?