- Install this component is using [Composer][1]
$ composer require lin3s/admin-bundle
- Enable the bundle
<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new LIN3S\AdminBundle\Lin3sAdminBundle(),
);
}
// ...
}
- Enable the ruting
# app/config/routing.yml
lin3s_admin:
resource: "@Lin3sAdminBundle/Resources/config/routing.yml"
prefix: "admin/"
- Install bundle assets
# Symfony 2
$ php app/console assets:install --symlink
# Symfony 3
$ php bin/console assets:install --symlink
That's it!, you can now start creating your first CRUD Admin