This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
This package is abandoned and no longer maintained. No replacement package was suggested.

Simple Symfony2 Bundle to work with pages

Installs: 946

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 16

Forks: 0

Open Issues: 3


dev-master 2014-03-13 13:39 UTC

This package is not auto-updated.

Last update: 2018-06-29 09:40:58 UTC


Simple Symfony2 Bundle to work with static pages.


This manual assumes that you're already using composer for your symfony installation and package management.

If not, you really should. Nevertheless it won't be a problem for you to install bundle using deps file or git submodule.

Step 1. Add bundle to your composer.json file

    "require": {
        "evercodelab/evercode-page-bundle" : "dev-master"

Step 2. Register the bundle in your app/AppKernel.php

// app/AppKernel.php

public function registerBundles()
    $bundles = array(
        // ...
        new Evercode\Bundle\PageBundle\EvercodePageBundle(),
    // ...

Step 3. Register bundle's routes in app/config.routing.yml

    resource: "@EvercodePageBundle/Controller/"
    type:     annotation
    prefix:   /

Step 4. Update your database schema to map your new Page entity.

$ php app/console doctrine:schema:update --force