aleste/adminlte-generator-bundle
Pros:
Cons:
symfony/console, doctrine/orm) or custom wrappers.AppKernel.php, composer.json).stfalcon/tinymce-bundle for template management.symfony/console in Laravel (e.g., via spatie/laravel-symfony-support).artisan commands and doctrine/dbal.doctrine/orm + doctrine/dbal).knp-paginator) may lack updates.SensioGeneratorBundle for Laravel’s make:controller).| Component | Symfony 2/3 Fit | Laravel Fit | Mitigation Strategy |
|---|---|---|---|
| Code Generation | Native | Partial (via bridge) | Use symfony/console or rewrite logic. |
| Doctrine ORM | Native | Possible (add-on) | Install doctrine/orm + configure DBAL. |
| AdminLTE | Native (Bundle) | Manual/Conflict | Isolate CSS/JS or replace post-generation. |
| Routing | Symfony Router | Laravel Router | Rewrite routes or use a middleware bridge. |
| Forms | SensioGenerator | Laravel Collective | Replace form classes with Laravel’s Form |
| Pagination | KnpPaginator | Laravel Pagination | Use Laravel’s paginate() in generated code. |
composer require aleste/adminlte-generator-bundle
AppKernel.php.php app/console aleste:generate:crud
assets:install and assetic:dump are run.spatie/laravel-symfony-support and symfony/console.Artisan command to proxy bundle commands.doctrine/dbal and doctrine/orm.config/packages/doctrine.php (Symfony-style).adminlte.js) with vanilla JS or Laravel helpers.SensioGeneratorBundle forms with Laravel Collective or Livewire.# Step 1: Generate Symfony-style CRUD (via bridge)
php artisan aleste:generate:crud
# Step 2: Manually convert to Laravel
mv app/Resources/views/Crud/ src/Views/Admin/
composer require laravelcollective/html
// Custom Laravel command using bundle's logic
$generator = new \Aleste\AdminLTEGeneratorBundle\Generator\CrudGenerator();
$entities = $generator->getEntitiesFromSchema();
foreach ($entities as $entity) {
$this->call('make:livewire', ['name' => "Admin/{$entity->getName}"]);
}
make:controller + Blade stubs.How can I help you explore Laravel packages today?