web-ant / webant-corebundle
Core systems in WebAnt
Installs: 148
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 4
Forks: 2
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
- doctrine/dbal: <2.5
- doctrine/doctrine-bundle: ~1.2
- doctrine/orm: ~2.2,>=2.2.3,<2.5
- friendsofsymfony/rest-bundle: ~1.4
- jms/serializer: ~0.16
- jms/serializer-bundle: ~0.13
- symfony/framework-bundle: ~2.3
Requires (Dev)
- liip/functional-test-bundle: ~1.0
- phpunit/phpunit: ~4.5
This package is not auto-updated.
Last update: 2024-04-23 01:50:39 UTC
README
Core systems in WebAnt
Installation
Step 1: Install WebAntCoreBundle
The preferred way to install this bundle is to rely on Composer. Just add in your composer.json:
{ "require": { // ... "web-ant/webant-corebundle": "dev-master" } }
Step 2: Enable the bundle
Finally, enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new WebAnt\CoreBundle\CoreBundle(), ); }
Step 3: Our classes inherit from AbstractController
Now you must to connect AbstractController and inherit the classes from it, example:
<?php // RootDir/src/DemoBundle/Controller/DemoController.php; namespace /src/DemoBundle/Controller; use WebAnt\CoreBundle\Controller\AbstractController; class DemoController extends AbstractController { ... }