PHPackages                             phly/phly-requirejs - 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. [Templating &amp; Views](/categories/templating)
4. /
5. phly/phly-requirejs

AbandonedArchivedLibrary[Templating &amp; Views](/categories/templating)

phly/phly-requirejs
===================

ZF2 view helper for aggregating RequireJs-compatible require statements

1.0.0(11y ago)13902BSD-2-ClausePHPPHP &gt;=5.3.3

Since Jul 17Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/phly/PhlyRequireJs)[ Packagist](https://packagist.org/packages/phly/phly-requirejs)[ Docs](https://github.com/weierophinney/PhlyRequireJs)[ RSS](/packages/phly-phly-requirejs/feed)WikiDiscussions master Synced 1w ago

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

PhlyRequireJs
=============

[](#phlyrequirejs)

> ⚠️ **Archived 2025-08-17**
>
> Use at your own risk.

[https://travis-ci.org/phly/PhlyRequireJs.svg?branch=master](https://travis-ci.org/phly/PhlyRequireJs)

Simple library providing a ZF2 view helper for aggregating RequireJs calls.

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

[](#installation)

Install the module via git submodules, unzipping the download zipball, or, later, via Composer.

Enable it in a ZF2 module by adding the "PhlyRequireJs" module to your `config/application.config.php` file.

If not using in ZF2, but standalone with the ZF2 `PhpRenderer`, you will need to add the `requirejs` helper as an invokable to the `ViewHelperManager`.

Usage
-----

[](#usage)

```
