- Can I use Ctrl RAD Bundle in a pure Laravel project without Symfony?
- No, this bundle is Symfony-centric and relies on Twig, Doctrine, and Symfony’s DI. For Laravel, you’d need to abstract its components (e.g., wrap Symfony services in Laravel facades) or use the Symfony Bridge (`laravel/symfony-bundle`). Twig would require a bridge like `twig-bridge/twig-bridge` or manual Blade conversion.
- How do I install Ctrl RAD Bundle in Laravel?
- Run `composer require ctrl-f5/ctrl-rad-bundle`. For Symfony integration, add `laravel/symfony-bridge`. Twig support requires `twig-bridge/twig-bridge`. Note: Bower (for StartBootstrap Admin 2) is deprecated—migrate assets to npm/yarn via Laravel Mix manually.
- Does this bundle work with Laravel’s Eloquent ORM?
- No, it’s built for Doctrine. To use Eloquent, you’d need to rewrite the `EntityService` layer or create a hybrid setup. The bundle’s paginated queries and filtering logic would require Eloquent-specific adapters.
- How do I customize the admin layout (sidebar/topbar/breadcrumbs)?
- Override Twig templates in `Resources/views/Layout/` (e.g., `topbar.html.twig`, `sidebar.html.twig`). Use `app_title` in Twig globals for the topbar title. For Blade, convert these templates or use `twig-bridge` to render them dynamically.
- Is the CRUD system configurable for my own entities?
- Yes, the bundle provides index/edit actions with configurable grids, pagination, and filtering. Extend the `EntityService` to add business logic for your entities. Column definitions in `TableView` are also customizable via YAML/XML.
- Will this bundle work with Laravel 10+?
- Unlikely without modifications. The bundle targets Symfony 2/3 and relies on deprecated tools (Bower, Twig 1.x). You’d need to fork it, update dependencies, and adapt to Laravel’s routing/DI. Test thoroughly—this is a high-effort migration.
- Are there alternatives for Laravel admin CRUD with less Symfony dependency?
- Yes. Consider Laravel-specific packages like **Filament**, **Nova**, or **Backpack for Laravel** for CRUD. For Twig-free solutions, try **Livewire** + **Tailwind CSS** or **Spatie’s Laravel Permission** with custom Blade templates. These avoid Symfony’s overhead.
- How do I handle the Bower dependency (StartBootstrap Admin 2) in Laravel Mix?
- Bower is obsolete. Manually download StartBootstrap Admin 2’s assets (CSS/JS) and include them in `resources/assets/` or `public/`. Configure Laravel Mix to compile them. Alternatively, find an npm package for SB Admin 2 (e.g., `start-bootstrap/sb-admin-2`).
- Can I use Blade templates instead of Twig?
- Indirectly. Install `twig-bridge/twig-bridge` to render Twig templates in Blade views. Alternatively, manually convert Twig templates to Blade (e.g., replace `{{ }}` with `@{{ }}`, `{% %}` with `@{{ }}`). The bundle’s Twig extensions would need Blade equivalents.
- What’s the maintenance status of this bundle?
- Abandoned (no updates, 0 stars). Fork it if critical, but expect to handle bugs yourself. For production, evaluate risks: Twig/Doctrine dependencies, Bower obsolescence, and Symfony-Laravel integration gaps. Consider a rewrite or alternative.