Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.13 KB

installation.md

File metadata and controls

46 lines (35 loc) · 1.13 KB

Installation

  1. Installing the bundle

Use composer to install this bundle (using the master version)

php composer.phar require vincet/admin-configuration-bundle
  1. Register the bundle

In app/appKernel.php add the following line to register the bundle:

[...]
            new VinceT\BaseBundle\VinceTBaseBundle(),
            new VinceT\AdminBundle\VinceTAdminBundle('SonataAdminBundle'),
            new VinceT\BootstrapFormBundle\VinceTBootstrapFormBundle(),
            new Trsteel\CkeditorBundle\TrsteelCkeditorBundle(),
            new VinceT\AdminConfigurationBundle\VinceTAdminConfigurationBundle(),
[...]
  1. Configure

In app/config/routing.yml add:

vince_t_admin_configuration:
    resource: "@VinceTAdminConfigurationBundle/Resources/config/routing.yml"
    prefix:   /admin
  1. Install assets

php app/console assets:install --symlink

The bundle is now installed and you can begin to use it.