PHPackages                             runopencode/dm-js-compiler-plugin - 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. runopencode/dm-js-compiler-plugin

AbandonedSymfony1-plugin[Utility &amp; Helpers](/categories/utility)

runopencode/dm-js-compiler-plugin
=================================

dmJsCompilerPlugin - JavaScript compiler for Diem Extended project

16PHP

Since Jun 28Pushed 12y ago2 watchersCompare

[ Source](https://github.com/RunOpenCode/dmJsCompilerPlugin)[ Packagist](https://packagist.org/packages/runopencode/dm-js-compiler-plugin)[ RSS](/packages/runopencode-dm-js-compiler-plugin/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

dmJsCompilerPlugin for Diem Extended
====================================

[](#dmjscompilerplugin-for-diem-extended)

Author: [TheCelavi](http://www.runopencode.com/about/thecelavi)Version: 0.5 Stability: Stable
Date: June 24th, 2013 Courtesy of [Run Open Code](http://www.runopencode.com)
License: [Free for all](http://www.runopencode.com/terms-and-conditions/free-for-all)

dmJsCompilerPlugin for Diem Extended is JavaScript compiler for Diem Extended projects. For now, it can be used via task from console, while integration with response object is work in progress.

The following commands are available:

- `php symfony js:compile` or `php symfony jsc` - Compiles the JavaScript files for project. If, per example, there is file called `example.js` it will be compiled and stored at same directory under the name `example.min.js`(depending on service settings, see `services.yml`).
- `php symfony js:delete-compiled` or `php symfony js:delc` - Deletes compiled JavaScript files from project. It does that according the file names (if in directory exists `example.min.js` or `example.compiled.js` - see `config.yml` - and `example.js` - the conclusion is that JavaScript file is compiled JavaScript file, so it will be removed).
- `php symfony js:delete-source` - Deletes JavaScript source files from the project. Ought to be used ONLY in production server. Backup your project before using this command.

There are various settings for each task. They are explained here:

Settings for tasks:
-------------------

[](#settings-for-tasks)

\###`js:compile`:

- `plugin`: You can set which plugin will be searched for JavaScript files. Default is null, so whole project is searched for JavaScript files. Several predefined constant exists:
    - web: it will search `web/js` dir for JS files
    - core: searches in `diem-extended/dmCorePlugin/web`
    - admin: searches in `diem-extended/dmAdminPlugin/web`
    - front: searches in `diem-extended/dmFrontPlugin/web`
    - diem: searches in `diem-extended/dmAdminPlugin/web`, `diem-extended/dmCorePlugin/web`, `diem-extended/dmFrontPlugin/web`
    - plugins: searches in `plugins` dir
    - anyNameOfPlugin: searches in `project/plugins/anyNameOfPlugin`
    - NOTE: You can provide several search locations separating them with coma, example: `php symfony js:compile --plugin=web,front`
- `enabled-plugins-only`: When searching in plugins dir for plugins, should only enabled plugins in configuration be considered, default is false
- `force`: It will force compiler to compile JavaScript files regardless of cache, default is false
- `write-empty`: If file is empty, or output is empty, it will be written anyway. Default is false.
- `preserve-credits`: Should JavaScript comments before code be preserved or not in compiled JavaScript file, default is false. This does not work - I can not figure out how to do this.
- `compiler-options` - you can pass in some compiler options as `opt1:val1,opt2,val2` depending on used compiler. For now, only one compiler is implemented, see its docs for settings.

### `js:delete-compiled`

[](#jsdelete-compiled)

- `plugin`: Same as for `js:compile`
- `enabled-plugins-only`: Same as for `js:compile`

### `js:delete-source`

[](#jsdelete-source)

- `plugin`: Same as for `js:compile`
- `enabled-plugins-only`: Same as for `js:compile`

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/410738?v=4)[Nikola Svitlica](/maintainers/TheCelavi)[@TheCelavi](https://github.com/TheCelavi)

---

Top Contributors

[![TheCelavi](https://avatars.githubusercontent.com/u/410738?v=4)](https://github.com/TheCelavi "TheCelavi (1 commits)")

### Embed Badge

![Health badge](/badges/runopencode-dm-js-compiler-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/runopencode-dm-js-compiler-plugin/health.svg)](https://phpackages.com/packages/runopencode-dm-js-compiler-plugin)
```

###  Alternatives

[infuse/libs

Solid libraries for rapid PHP development

1444.0k3](/packages/infuse-libs)[gussrw/laravel-routes

Documentation of Laravel Routes

1210.5k](/packages/gussrw-laravel-routes)

PHPackages © 2026

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