PHPackages                             werkint/frontend-mapper-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. werkint/frontend-mapper-bundle

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

werkint/frontend-mapper-bundle
==============================

This bundle provides integration of gulp into Symfony2

v0.0.1(10y ago)21.1k1proprietaryJavaScriptPHP &gt;=5.5

Since Jan 6Pushed 10y ago4 watchersCompare

[ Source](https://github.com/Werkint/FrontendMapperBundle)[ Packagist](https://packagist.org/packages/werkint/frontend-mapper-bundle)[ RSS](/packages/werkint-frontend-mapper-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (2)Used By (1)

```
requirejs.config({
    "config":      {
        "translatorLoader": {
            "domains": [{
                name:    'messages',
                locales: ['en', document.documentElement.lang],
            }]
        }
    },
});

```

copy file to project: *package.json*

```
cd path/to/project
cp vendor/werkint/frontend-mapper-bundle/package.json ./

```

and run `npm install`may help: also npm install --save glob vendor/werkint/frontend-mapper-bundle/src/DependencyInjection/Compiler/JsmodelProviderPass.php

**gulpfile.js**

```
(function () {
    'use strict';

    process.env.NODE_MAX_LISTENER = 500;
    require('./vendor/werkint/frontend-mapper-bundle/src/Resources/gulp/index.js')();
})();
```

**bower.json**

```
touch app/config/bower.json
```

```
{
  "name": "brander-app",
  "version": "0.0.1",
  "authors": [
    "Someone "
  ],
  "ignore": [
    "**/.*"
  ],
  "resolutions": {
    "underscore": "~1.8.3",
    "backbone": "~1.1.2",
    "backbone.relational": "2f66cc5022"
  },
  "overrides": {
    "renames": {},
    "social": {
      "normalize": {
        "js/social": "*.js"
      }
    },
    "requirejs-domready": {
      "main": [
        "domReady.js"
      ]
    },
    "tabslet": {
      "main": [
        "jquery.tabslet.js"
      ]
    }
  }
}
```

### Usual configuration

[](#usual-configuration)

1. do lines above (create gulpfile.js, npm install ...)
2. create bundle dependencies src/AppBundle/bower.json

    ```
    {
      "name": "sdelka-app",
      "main": [
        "bower.json"
      ],
      "dependencies": {
        "requirejs": "*",
        "jquery": "*",
        "lodash": "*",
        "backbone": "*",
        "backbone.relational": "*",
        "backbone.marionette": "*",
        "backbone.modelbinder": "*",
        "twig.js": "*",
        "backbone.radio": "*",
        "backbone.paginator": "*"
      }
    }
    ```
3. create config src/AppBundle/Resources/public/config.js

    ```
    (function () {
        'use strict';

        var config = window.require ? window.require : {};
        config = {
            'paths': config.paths,

            'waitSeconds': 30,
            'urlArgs':     'bust=' + window.$assets_version,
            "baseUrl": "/assets/js",

            "map":    {
    /*            "*":                   {
                    "twig":                  "config/twig",
                },
                "config/twig":         {
                    "twig": "twig",
                },
                "config/iwin-twitter": {
                    "social/module.twitter": "social/module.twitter",
                },*/

            },

            "shim": {
                "jquery.elastic": {
                    deps: ["jquery"]
                },
            },

            "config": {
                /*"social/api.google-loader":   window.$socials.google,*/
            },
        };

        require.config(config)
    }());
    ```
4. edit app/Resources/views/base.html.twig

    ```

            {% block title %}Welcome!{% endblock %}
            {% block stylesheets %}{% endblock %}

    ```
5. run `app/console as:in` and `gulp`
6. test

```
requirejs(['jquery'], function ($) { alert($); })
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69% 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

3785d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/533d0c99c4e0c7413a1dcce2d81c37ecf94883e6377d274d6f43247a399bb268?d=identicon)[nick4fake](/maintainers/nick4fake)

---

Top Contributors

[![tomfun](https://avatars.githubusercontent.com/u/5002775?v=4)](https://github.com/tomfun "tomfun (20 commits)")[![odesskij](https://avatars.githubusercontent.com/u/4420066?v=4)](https://github.com/odesskij "odesskij (9 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/werkint-frontend-mapper-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/werkint-frontend-mapper-bundle/health.svg)](https://phpackages.com/packages/werkint-frontend-mapper-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)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[friendsoftypo3/content-blocks

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

96374.6k23](/packages/friendsoftypo3-content-blocks)[pixelopen/cloudflare-turnstile-bundle

A simple package to help integrate Cloudflare Turnstile on Symfony.

31205.8k3](/packages/pixelopen-cloudflare-turnstile-bundle)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)

PHPackages © 2026

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