Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 805 Bytes

installation.md

File metadata and controls

51 lines (38 loc) · 805 Bytes

Installation

Installation

  1. Install this component is using [Composer][1]
$ composer require lin3s/admin-bundle
  1. Enable the bundle
<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new LIN3S\AdminBundle\Lin3sAdminBundle(),
        );
    }

    // ...
}
  1. Enable the ruting
# app/config/routing.yml
lin3s_admin:
    resource: "@Lin3sAdminBundle/Resources/config/routing.yml"
    prefix: "admin/"
  1. 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