PHPackages                             apnet/layout-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. apnet/layout-bundle

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

apnet/layout-bundle
===================

Default layout for all sites

3.2.0(9y ago)19141[1 issues](https://github.com/apnet/LayoutBundle/issues)1MITPHPPHP &gt;=5.3.3

Since Nov 25Pushed 9y ago3 watchersCompare

[ Source](https://github.com/apnet/LayoutBundle)[ Packagist](https://packagist.org/packages/apnet/layout-bundle)[ RSS](/packages/apnet-layout-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (11)Versions (10)Used By (1)

Apnet Layout Bundle
===================

[](#apnet-layout-bundle)

[![Travis-ci status](https://camo.githubusercontent.com/c9b4e2d9341ac4b7097bf67ffde3fcf517f3e8f2bdad265870d9d26374462e3e/68747470733a2f2f7472617669732d63692e6f72672f61706e65742f4c61796f757442756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/apnet/LayoutBundle/) [![SensioLabsInsight](https://camo.githubusercontent.com/76373356404ea8d9122991575fb61385d449f78ecda9af016bdf9b68a31cb549/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64656562626165642d656166662d343665662d613634382d3333326264663463663538612f6d696e692e706e67)](https://insight.sensiolabs.com/projects/deebbaed-eaff-46ef-a648-332bdf4cf58a)

Base layout template bundled with [Bootstrap](https://github.com/apnet/bootstrap), [jQuery](https://github.com/apnet/jquery) and [html5shiv](https://github.com/apnet/html5shiv)

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

[](#installation)

Add requirements to composer.json:

```
{
  "require" : {
    "apnet/layout-bundle" : "~3.1"
  }
}
```

Configurations
--------------

[](#configurations)

Register `ApnetAsseticImporterBundle` and `ApnetLayoutBundle` bundles in the `AppKernel.php` file

```
// ...other bundles ...
$bundles[] = new Apnet\AsseticImporterBundle\ApnetAsseticImporterBundle();
$bundles[] = new Apnet\LayoutBundle\ApnetLayoutBundle();
```

Twig
----

[](#twig)

Use [ApnetLayoutBundle::body.html.twig](https://github.com/apnet/LayoutBundle/blob/master/src/Apnet/LayoutBundle/Resources/views/body.html.twig) as a parent for all your layout twig templates

```
{% extends "ApnetLayoutBundle::body.html.twig" %}

{% block title %}LayoutBundle{% endblock %}

{% block stylesheets_core %}
    {{ parent() }}

{% endblock %}

{% block body_core %}

        ...

{% endblock %}

{% block javascripts_core %}
    {{ parent() }}

{% endblock %}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Every ~119 days

Recently: every ~217 days

Total

9

Last Release

3598d ago

Major Versions

1.0.x-dev → 2.0.02014-01-31

2.0.2 → 3.0.02014-04-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd7f833537e59f3a0275ec881051e8d08ee9b658025f675f201228956da8a3e0?d=identicon)[covex-nn](/maintainers/covex-nn)

---

Top Contributors

[![covex-nn](https://avatars.githubusercontent.com/u/110878?v=4)](https://github.com/covex-nn "covex-nn (35 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/apnet-layout-bundle/health.svg)

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

###  Alternatives

[winzou/state-machine-bundle

Bundle for the very lightweight yet powerful PHP state machine

34010.4M15](/packages/winzou-state-machine-bundle)[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[sylius/taxonomy-bundle

Flexible categorization system for Symfony.

26388.2k7](/packages/sylius-taxonomy-bundle)[symfony/ai-bundle

Integration bundle for Symfony AI components

30282.3k6](/packages/symfony-ai-bundle)[sylius/addressing-bundle

Addressing and zone management for Symfony applications.

33221.4k3](/packages/sylius-addressing-bundle)[sylius/inventory-bundle

Flexible inventory management for Symfony applications.

19176.7k4](/packages/sylius-inventory-bundle)

PHPackages © 2026

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