2017 © Pedro Peláez
 

library silex-knp-menu-service-provider

A Silex Knp Menu service provider which is compatible with Silex 2.*

image

boxedcode/silex-knp-menu-service-provider

A Silex Knp Menu service provider which is compatible with Silex 2.*

  • Wednesday, July 20, 2016
  • by kabudu
  • Repository
  • 1 Watchers
  • 2 Stars
  • 1,057 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 13 % Grown

The README.md

Silex Knp Menu Service Provider

This is a simple Silex Knp Menu Service Provider which is compatible with Silex 2.*. You can find out more about Knp Menu here, (*1)

Installation

Install using composer, more information on composer is available here. The following simple command will install silex-knp-menu-service-provider into your project, add a new entry in your composer.json file and update the composer.lock file as well., (*2)

composer require boxedcode/silex-knp-menu-service-provider

Usage

Simply register the service provider in your Silex 2.* application along the lines of the following:, (*3)

<?php 

// Include dependencies installed with composer
require 'vendor/autoload.php';

use BoxedCode\Silex\Knp\MenuServiceProvider;
use Silex\Application;

$app = new Application();
$app->register(new MenuServiceProvider());

What now?

Follow the documentation available here and here to learn how to customise your menu and for other advanced usages of Knp Menu., (*4)

Credits

Knp Menu is provided courtesy of the team over at KnpLabs and the Symfony Community. Silex is provided courtesy of the team over at Sensio Labs., (*5)

The Versions

20/07 2016

dev-master

9999999-dev

A Silex Knp Menu service provider which is compatible with Silex 2.*

  Sources   Download

The Requires

 

The Development Requires

by Kamba Abudu

20/07 2016

v1.0.0

1.0.0.0

A Silex Knp Menu service provider which is compatible with Silex 2.*

  Sources   Download

The Requires

 

The Development Requires

by Kamba Abudu