PHPackages                             zorbus/page-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. zorbus/page-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

zorbus/page-bundle
==================

A Symfony2 Page bundle

0.0.1(13y ago)0581MITPHPPHP &gt;=5.3.2

Since Oct 21Pushed 11y ago2 watchersCompare

[ Source](https://github.com/titomiguelcosta/ZorbusPageBundle)[ Packagist](https://packagist.org/packages/zorbus/page-bundle)[ Docs](https://github.com/Zorbus)[ RSS](/packages/zorbus-page-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (2)Used By (1)

Zorbus Page Bundle
==================

[](#zorbus-page-bundle)

This bundles allows to create web pages through an admin area powered by Sonata Admin. Data is store on a relation database (only supports Doctrine ORM).

A page consists of a theme (a twig template) and several blocks (provided by the ZorbusBlockBundle).

In app/config.yml
-----------------

[](#in-appconfigyml)

Enable the cmf routing and the doctrine bundles on AppKernel.php:

```
public function registerBundles()
{
    $bundles = array(
        ...,
        new Zorbus\PageBundle\ZorbusPageBundle(),
        new Zorbus\BlockBundle\ZorbusBlockBundle(),
        new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
        new Symfony\Cmf\Bundle\RoutingBundle\CmfRoutingBundle(),
    );
}
```

Add configuration to load the page router.

```
cmf_routing:
    chain:
        routers_by_id:
            zorbus.page.router: 300
            router.default: 100

```

Add configuration to enable the doctrine extensions:

```
stof_doctrine_extensions:
    default_locale: %locale%
    orm:
        default:
            timestampable: true
            sluggable: true
            tree: true
            sortable: true

```

The entity repositories must extend the provided ones in the model.

```
zorbus_page:
    entities:
        page: Acme\DemoBundle:Page
        page_block: Acme\DemoBundle:PageBlock
        block: Acme\DemoBundle:Block

```

Add configuration to point to the entities, replacing the interface. They should extend the provided models.

```
doctrine:
    orm:
        resolve_target_entities:
            Zorbus\PageBundle\Model\PageInterface: Acme\DemoBundle\Entity\Page
            Zorbus\PageBundle\Model\PageBlockInterface: Acme\DemoBundle\Entity\PageBlock
            Zorbus\BlockBundle\Model\BlockInterface: Acme\DemoBundle\Entity\Block

```

In app/routing.yml
------------------

[](#in-approutingyml)

```
zorbus_page:
    resource: "@ZorbusPageBundle/Controller"
    type: annotation
    prefix: /

```

Update the database
-------------------

[](#update-the-database)

Use the doctrine migrations or update the schema straight away:

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

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

5003d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c029fa4d3fe3cd9c559533eaf82b2e234bddcb2662261dbe0874c51a55fe3b93?d=identicon)[titomiguelcosta](/maintainers/titomiguelcosta)

---

Top Contributors

[![titomiguelcosta](https://avatars.githubusercontent.com/u/192639?v=4)](https://github.com/titomiguelcosta "titomiguelcosta (39 commits)")

---

Tags

bundlepageormdoctrineSymfony2block

### Embed Badge

![Health badge](/badges/zorbus-page-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/zorbus-page-bundle/health.svg)](https://phpackages.com/packages/zorbus-page-bundle)
```

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M386](/packages/easycorp-easyadmin-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

9410.8k](/packages/ahmed-bhs-doctrine-doctor)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[data-dog/audit-bundle

Audit bundle for symfony2 and doctrine orm, logs any database change

141949.8k1](/packages/data-dog-audit-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
