Puzzle Client Expertise Bundle
=========================
Puzzle bundle for managing admin
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
composer require webundle/puzzle-admin-expertise
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php
file of your project:
<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new Puzzle\Admin\ExpertiseBundle\PuzzleAdminExpertiseBundle(),
);
// ...
}
// ...
}
Step 3: Register the Routes
Load the bundle's routing definition in the application (usually in the app/config/routing.yml
file):
app/config/routing.yml
puzzle_admin_expertise:
resource: "@PuzzleAdminExpertiseBundle/Resources/config/routing.yml"
Step 4: Configure Dependency Injection
Then, enable management bundle via admin modules interface by adding it to the list of registered bundles in the app/config/config.yml
file of your project under:
# Puzzle Admin Expertise
puzzle_admin_expertise:
title: expertise.title
description: expertise.description
icon: expertise.icon
roles:
default:
label: 'ROLE_EXPERTISE'
description: expertise.role.default
Step 5: Enable module
Then, enable management bundle via admin modules interface by adding it to the list of registered bundles in the app/config/config.yml
file of your project under:
# Client Admin
puzzle_admin:
...
modules_availables: '...,expertise'