PHPackages                             bmatzner/json2-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. bmatzner/json2-bundle

AbandonedArchivedSymfony-bundle[Parsing &amp; Serialization](/categories/parsing)

bmatzner/json2-bundle
=====================

JSON-js Bundle for Symfony2

2013-05-26(12y ago)01.7k1Public DomainJavaScript

Since Jan 13Pushed 12y ago1 watchersCompare

[ Source](https://github.com/bmatzner/BmatznerJson2Bundle)[ Packagist](https://packagist.org/packages/bmatzner/json2-bundle)[ Docs](https://github.com/douglascrockford/JSON-js)[ RSS](/packages/bmatzner-json2-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

JSON-js Bundle for Symfony2
===========================

[](#json-js-bundle-for-symfony2)

Current Version
---------------

[](#current-version)

JSON-js 2013-05-26 Only the json2.js file crockford is suggesting to use is included

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

[](#installation)

### Add bundle to your composer.json file

[](#add-bundle-to-your-composerjson-file)

```
// composer.json

{
    "require": {
		// ...
        "bmatzner/json2-bundle": "*"
    }
}
```

### Add bundle to your application kernel

[](#add-bundle-to-your-application-kernel)

```
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Bmatzner\Json2Bundle\BmatznerJson2Bundle(),
        // ...
    );
}
```

### Download the bundle using Composer

[](#download-the-bundle-using-composer)

```
$ php composer.phar update bmatzner/json2-bundle
```

### Install assets

[](#install-assets)

Given your server's public directory is named "web", install the public vendor resources

```
$ php app/console assets:install web
```

Optionally, use the --symlink attribute to create links rather than copies of the resources

```
$ php app/console assets:install --symlink web
```

Usage
-----

[](#usage)

Refer to the desired files in your HTML template, e.g.

```

```

Licenses
--------

[](#licenses)

Refer to the source code of the included files for license information

References
----------

[](#references)

1.
2.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

Established project with proven stability

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 ~286 days

Total

2

Last Release

4587d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/665fad4e0c685309ed3a1f9a1ff98ecd3f4bf331f13bf3ff8061ed68f57321b7?d=identicon)[bmatzner](/maintainers/bmatzner)

---

Tags

jsonsymfonyjavascript

### Embed Badge

![Health badge](/badges/bmatzner-json2-bundle/health.svg)

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

###  Alternatives

[symfony-bundles/json-request-bundle

Symfony JsonRequest Bundle

501.6M6](/packages/symfony-bundles-json-request-bundle)[wa72/jsonrpc-bundle

JSON-RPC server for Symfony: exposes services registered in the service container as JSON-RPC webservices

3164.1k](/packages/wa72-jsonrpc-bundle)[mcfedr/json-form

A couple of helper files for handling json with symfony forms

1387.5k1](/packages/mcfedr-json-form)[ovidigital/js-object-to-json

PHP library to convert a JavaScript object string to JSON formatted string

18177.7k6](/packages/ovidigital-js-object-to-json)

PHPackages © 2026

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