Download the PHP package bluebear/basebundle without Composer
On this page you can find all versions of the php package bluebear/basebundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bluebear/basebundle
More information about bluebear/basebundle
Files in bluebear/basebundle
Download bluebear/basebundle
More information about bluebear/basebundle
Files in bluebear/basebundle
Vendor bluebear
Package basebundle
Short Description Base bundle for Symfony2
License MIT
Homepage https://github.com/CleverGaming/BaseBundle
Package basebundle
Short Description Base bundle for Symfony2
License MIT
Homepage https://github.com/CleverGaming/BaseBundle
Please rate this library. Is it a good library?
Informations about the package basebundle
BaseBundle
BaseBundle for Symfony2 projects. This bundle contains some shortcuts and code snippets to ease Symfony2 projects developpment.
Installation
Getting started
BaseBundle offers some features to help you :
ControllerTrait
Your controller should have following methods (those methods are native in Symfony Controller):
ControllerTrait has following methods :
- forward404Unless($condition, $message = '404 Not Found') : Forward current request to a 404 page if $condition is false
- redirect($url, $status = 302) : Redirect to an url or a route (for route use "@my_route")
- setMessage($message, $type = 'info', $parameters = []) : Add a flash message with a type and translations parameters
- getConfig($key) : Return configuration key $key from container parameters
- getRouting() : Return router service
- getTranslator() : Return translator service
- getSession() : Return session service
- getEventDispatcher() : Return event dispatcher service
- getEntityManager() : Return entity manager service
- translate($string, $parameters = []) : Return entity manager service
ContainerTrait
ContainerTrait has following methods :
- getContainer() : Return Container service
- setContainer() : Set Container service
EntityManagerTrait
EntityManagerTrait has following methods :
- getEntityManager() : Return EntityManager service
- setEntityManager() : Set EntityManager service
ManagerTrait
...
All versions of basebundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
symfony/symfony Version >=2.6
sensio/framework-extra-bundle Version ~3.0
doctrine/orm Version >=2.3
symfony/symfony Version >=2.6
sensio/framework-extra-bundle Version ~3.0
doctrine/orm Version >=2.3
The package bluebear/basebundle contains the following files
Loading the files please wait ....