PHPackages                             misd/project-light-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. misd/project-light-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

misd/project-light-bundle
=========================

Adds the University of Cambridge's house style to your Symfony2 application.

1155JavaScript

Since Jan 2Pushed 11y ago7 watchersCompare

[ Source](https://github.com/misd-service-development/project-light-bundle)[ Packagist](https://packagist.org/packages/misd/project-light-bundle)[ RSS](/packages/misd-project-light-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

ProjectLightBundle
==================

[](#projectlightbundle)

Adds the University of Cambridge's house style to your Symfony2 application.

Authors
-------

[](#authors)

- Chris Wilkinson

Installation
------------

[](#installation)

1. Add the ProjectLightBundle to your dependencies:

    ```
    // composer.json

    {
       // ...
       "require": {
           // ...
           "misd/project-light-bundle": "~1.0@dev"
       }
    }

    ```
2. Use Composer to download and install the ProjectLightBundle:

    ```
    $ php composer.phar update misd/project-light-bundle

    ```
3. Register the bundle in your application:

    ```
    // app/AppKernel.php

    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Misd\ProjectLightBundle\ProjectLightBundle()
        );
    }

    ```

Project Light assets
--------------------

[](#project-light-assets)

The bundle contains all of the Project Light assets (stylesheet, JavaScript and images).

Base template
-------------

[](#base-template)

Either extend the base template:

```
{% extends 'ProjectLightBundle::base.html.twig' %}

```

Or one of the themes:

```
{% extends 'ProjectLightBundle::theme_blue.html.twig' %}
{% extends 'ProjectLightBundle::theme_green.html.twig' %}
{% extends 'ProjectLightBundle::theme_grey.html.twig' %}
{% extends 'ProjectLightBundle::theme_orange.html.twig' %}
{% extends 'ProjectLightBundle::theme_purple.html.twig' %}
{% extends 'ProjectLightBundle::theme_red.html.twig' %}
{% extends 'ProjectLightBundle::theme_turquoise.html.twig' %}

```

### `title`

[](#title)

The HTML `` can be set in the `title` block. This is blank by default.

Example:

```
{% block title %}My title{% endblock %}

```

### `stylesheets`

[](#stylesheets)

Local stylesheets can be included in the `stylesheets` block.

Example:

```
{% block stylesheets %}

{% endblock %}

```

### `theme`

[](#theme)

If not extending one of the specific theme templates, you can set it in the `theme` block.

Example:

```
{% block theme %}campl-theme-3{% endblock %}

```

### `content`

[](#content)

This contains all content (including the local header).

### `footer`

[](#footer)

A local footer can be included in the `footer` block.

### `javascripts`

[](#javascripts)

Local JavaScript files can be included in the `javascripts` block. This appear at the end of the page (ie before the ``).

Example:

```
{% block javascripts %}

{% endblock %}

```

### `partnerships`

[](#partnerships)

Partnership branding can be included in the `partnerships` block.

Example:

```
{% block partnerships %}

                        Supported by

{% endblock %}

```

Notifications
-------------

[](#notifications)

The bundle comes with a template for notifications, which you can use like:

```
{% for level, messages in app.session.flashbag.all() %}
    {% for message in messages %}
        {% include 'ProjectLightBundle:Component:notification.html.twig' with {level: level, text: message} %}
    {% endfor %}
{% endfor %}

```

Expected levels are `success`, `warning`, `alert` and `information` (default).

KnpMenu render
--------------

[](#knpmenu-render)

The bundle comes with a custom menu renderer which replaces the default. If you want to use your own renderer, you can configure the KnpMenuBundle as normal.

Pagerfanta view
---------------

[](#pagerfanta-view)

The bundle comes with a custom view which replaces the default. If you want to use your own view, you can configure the WhiteOctoberPagerfantaBundle as normal.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e6aaeba393e9038b5a5a916e5f4e32ffb349436e3be2027be4828f486bc8c9d?d=identicon)[thewilkybarkid](/maintainers/thewilkybarkid)

---

Top Contributors

[![thewilkybarkid](https://avatars.githubusercontent.com/u/1784740?v=4)](https://github.com/thewilkybarkid "thewilkybarkid (5 commits)")

### Embed Badge

![Health badge](/badges/misd-project-light-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/misd-project-light-bundle/health.svg)](https://phpackages.com/packages/misd-project-light-bundle)
```

###  Alternatives

[trustpilot/module-reviews

The Trustpilot Review extension makes it simple and easy for merchants to collect reviews from their customers to power their marketing efforts, increase sales conversion, build their online reputation and draw business insights.

12931.8k](/packages/trustpilot-module-reviews)

PHPackages © 2026

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