mihail / search-bundle
Search for Symfony2.8
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Language:HTML
Type:bundle
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-11-13 19:50:56 UTC
README
Step 1: Download the Bundle
Download the Zip File from Github. Extract files and rename the main folder to 'SearchBundle'(remove '-master'). Place the folder in 'src/Mihail/'(you will have to create the folder with the vendor name Mihail). Structure after this: 'src/Mihail/SearchBundle/...'
Step 2: Enable the Bundle
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 Mihail\SearchBundle\MihailSearchBundle(), ); // ... } // ... }
Step 3: Add bundle to routing file
Add the folowing to 'app/config/routing.yml'
mihail_search: resource: "@MihailSearchBundle/Controller/" type: annotation prefix: /