admin-panel/admin-bundle
Admin Bundle is a simple Symfony admin generator for building entity lists and custom actions. Supports Doctrine ORM and Doctrine DBAL. Versioned by Symfony branch (2.7+ and 3.x), with documentation in the doc/ directory.
composer require admin-panel/admin-bundle:dev-master
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = [
// ...
new \AdminPanel\Symfony\AdminBundle\AdminPanelBundle()
];
return $bundles;
}
# app/config/routing.yml
admin:
resource: "[@AdminPanelBundle](https://github.com/AdminPanelBundle)/Resources/config/routing/admin.yml"
prefix: /admin
You have to enable translation, form and csrf_protection framework options.
# app/config/config.yml
framework:
translator: { fallback: %locale% }
form: true
csrf_protection:
enable: true
How can I help you explore Laravel packages today?