PHPackages                             tempo/jsconfiguration-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. tempo/jsconfiguration-bundle

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

tempo/jsconfiguration-bundle
============================

A pretty nice way to expose your configuration to your JavaScript.

0.5(9y ago)1209MITPHP

Since Jun 2Pushed 9y ago2 watchersCompare

[ Source](https://github.com/tempo-project/JsConfigurationBundle)[ Packagist](https://packagist.org/packages/tempo/jsconfiguration-bundle)[ RSS](/packages/tempo-jsconfiguration-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (2)Used By (0)

TempoJsConfigurationBundle
==========================

[](#tempojsconfigurationbundle)

This bundle allows you to expose configuration in your JavaScript code.

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

[](#installation)

Require [`tempo/jsconfiguration-bundle`](https://packagist.org/packages/tempo/jsconfiguration-bundle)into your `composer.json` file:

```
{
    "require": {
        "tempo-project/jsconfiguration-bundle": "dev-master"
    }
}
```

Register the bundle in `app/AppKernel.php`:

```
// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new Tempo\Bundle\JsConfigurationBundle\TempoJsConfigurationBundle(),
    );
}
```

Publish assets:

```
$ php app/console tempo:js-configuration:dump
$ php app/console assets:install --symlink web

```

Usage
-----

[](#usage)

Moreover, you can configure a list of configuration to expose in app/config/config.yml:

```
# app/config/config.yml

tempo_js_configuration:
  config_to_expose: [mopa_bootstrap.form.show_legend]
```

Add these two lines in your layout:

```

```

Testing
-------

[](#testing)

Setup the test suite using [Composer](http://getcomposer.org/):

$ composer install --dev

Run it using PHPUnit:

$ phpunit

Resources
---------

[](#resources)

- [Report issues](https://github.com/tempo-project/tempo) and [send Pull Requests](https://github.com/tempo-project/tempo/pulls)in the [main Tempo repository](https://github.com/tempo-project/tempo)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

3637d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/328b26fbb3f643c81842439d92148caab78f359eaf7e33b05f4d7f4ad8c27e6f?d=identicon)[Shine-neko](/maintainers/Shine-neko)

---

Top Contributors

[![Shine-neko](https://avatars.githubusercontent.com/u/884441?v=4)](https://github.com/Shine-neko "Shine-neko (30 commits)")

---

Tags

symfonyconfigurationjavascript

### Embed Badge

![Health badge](/badges/tempo-jsconfiguration-bundle/health.svg)

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

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

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