Skip to content

quant61/webant-corebundle

 
 

Repository files navigation

Core systems in WebAnt

Documentation

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
{
    ...
}

About

Core systems in WebAnt

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 88.4%
  • HTML 11.6%