PHPackages                             noccylabs/foundation-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. noccylabs/foundation-bundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

noccylabs/foundation-bundle
===========================

Quickly add bootstrap, jquery and more from CDNs

0.1.2.1(10y ago)0357GPL-3.0PHP

Since Jul 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/noccy80/php-foundation-bundle)[ Packagist](https://packagist.org/packages/noccylabs/foundation-bundle)[ RSS](/packages/noccylabs-foundation-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (10)Used By (0)

Re NoccyLabs Foundation Bundle
==============================

[](#re--noccylabs-foundation-bundle)

Building websites around modern JavaScript and responsive CSS libraries can be a bit of a pain. Let us introduce the FoundationBundle that makes building a useful foundation easy as pie.

Configuration
-------------

[](#configuration)

No configuration needed at this time.

CDNs
----

[](#cdns)

CDNs can be updated from the console, using the `foundation:update` action:

```
$ app/console foundation:update

```

CdnJs and BootstrapCdn are included.

Using
-----

[](#using)

To use foundation, use the `foundation()` Twig tag in the head of your document:

```

    My Website
    ...
    {{ foundation('jquery,twitter-bootstrap') }}

...

```

You can also specifiy components as an array if you prefer:

```
{{ foundation([ "jquery", "twitter-bootstrap" ]) }}

```

### Finding components

[](#finding-components)

Use the `foundation:search` command to find components:

```
$ app/console foundation:search jquery
...

```

To find the URL of a component, for testing:

```
$ app/console foundation:component jquery
...

```

### Static template

[](#static-template)

*not implemented*

To dump a static template with the required links and script tags, use the `foundation:dump`command.

```
$ app/console foundation:dump > app/Resources/views/foundation.html.twig

```

### Finding usable components

[](#finding-usable-components)

```
$ app/console foundation:search bootswatch
 - bootswatch (Cdnjs)
 - bootswatch-amelia (BootstrapCdn)
 - bootswatch-cerulean (BootstrapCdn)
 - bootswatch-cosmo (BootstrapCdn)
 ...

```

In this case, you should be able to add `bootswatch-cerulean` to your foundation call to make your site use the cerulean bootswatch theme for bootstrap:

```
    {{ foundation([
        'jquery',
        'twitter-bootstrap',
        'twitter-bootstrap-css',
        'bootswatch-cerulean'
    ]) }}

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~84 days

Recently: every ~140 days

Total

9

Last Release

3698d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1434055?v=4)[Christopher Vagnetoft](/maintainers/noccy80)[@noccy80](https://github.com/noccy80)

---

Top Contributors

[![noccy80](https://avatars.githubusercontent.com/u/1434055?v=4)](https://github.com/noccy80 "noccy80 (24 commits)")

---

Tags

jquerybootstrapcdnbootswatch

### Embed Badge

![Health badge](/badges/noccylabs-foundation-bundle/health.svg)

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

###  Alternatives

[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M419](/packages/drupal-core-recommended)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)

PHPackages © 2026

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