PHPackages                             amttgroup/foxy-yii2-convert - 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. amttgroup/foxy-yii2-convert

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

amttgroup/foxy-yii2-convert
===========================

1.2(6y ago)0194MITPHP

Since Mar 4Pushed 6y agoCompare

[ Source](https://github.com/amttgroup/foxy-yii2-convert)[ Packagist](https://packagist.org/packages/amttgroup/foxy-yii2-convert)[ RSS](/packages/amttgroup-foxy-yii2-convert/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (5)Used By (0)

Foxy Yii2 Convert
=================

[](#foxy-yii2-convert)

covert Yii2 `npm-asset` or `bower-asset` to `package.json`, so that [Foxy](https://github.com/fxpio/foxy) can install.

install
=======

[](#install)

```
composer require kriss/foxy-yii2-convert -vvv
```

usage
=====

[](#usage)

1. add `provide` to `composer.json` to skip install `npm-asset` or `bower-asset`

like this:

```
{
    "provide": {
        "bower-asset/bootstrap": "*",
        "bower-asset/jquery": "*",
        "bower-asset/inputmask": "*",
        "bower-asset/punycode": "*",
        "bower-asset/yii2-pjax": "*",
        "npm-asset/wangeditor": "*",
        "npm-asset/webuploader": "*",
        "bower-asset/typeahead.js": "*"
    },
}
```

2. remove [composer-asset-plugin](https://github.com/fxpio/composer-asset-plugin) or [asset-packagist](https://github.com/hiqdev/asset-packagist) if you used in project
3. composer install
4. chage Yii2 npm and bower aliase

like this

```
'aliases' => [
    '@bower' => '@project/node_modules',
    '@npm' => '@project/node_modules',
],
```

FAQ
===

[](#faq)

> Q: If one package I dont want to install view npm?

A: Like [almasaeed2010/adminlte](https://github.com/almasaeed2010/adminlte), it can be installed by composer, you can config this in composer.json like:

```
  "config": {
    "foxy": {
      "enabled": true,
      "manager": "yarn",
      "enable-packages": {
        "almasaeed2010/adminlte": false, // this tip
        "*": true // must be added to the last
      }
    }
  },
```

> Q: If one package has `package.json`,and just use for develop?

A: Like [kartik-v/dependent-dropdown](https://github.com/kartik-v/dependent-dropdown), you can config this in composer.json like:

```
  "config": {
    "foxy": {
      "enabled": true,
      "manager": "yarn",
      "enable-packages": {
        "kartik-v/dependent-dropdown": false, // this tip
        "*": true // must be added to the last
      }
    }
  },
```

> Q: If one package is dont have same npm package name in bower?

A: Tell me with an issue.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

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

Every ~89 days

Total

4

Last Release

2409d ago

Major Versions

v0.1 → v1.02019-09-27

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/58212446?v=4)[amttgroup](/maintainers/amttgroup)[@amttgroup](https://github.com/amttgroup)

---

Top Contributors

[![krissss](https://avatars.githubusercontent.com/u/10680903?v=4)](https://github.com/krissss "krissss (5 commits)")[![amttgroup](https://avatars.githubusercontent.com/u/58212446?v=4)](https://github.com/amttgroup "amttgroup (3 commits)")

### Embed Badge

![Health badge](/badges/amttgroup-foxy-yii2-convert/health.svg)

```
[![Health](https://phpackages.com/badges/amttgroup-foxy-yii2-convert/health.svg)](https://phpackages.com/packages/amttgroup-foxy-yii2-convert)
```

###  Alternatives

[symfony/runtime

Enables decoupling PHP applications from global state

74798.8M1.0k](/packages/symfony-runtime)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5344.1M564](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2124.7M203](/packages/drupal-core-project-message)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

3014.6M26](/packages/vaimo-composer-patches)[sandersander/composer-link

Adds ability to link local packages for development with composer

98457.9k](/packages/sandersander-composer-link)[phpro/grumphp-shim

GrumPHP Phar distribution

294.7M340](/packages/phpro-grumphp-shim)

PHPackages © 2026

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