PHPackages                             proximify/foreign-packages - 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. proximify/foreign-packages

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

proximify/foreign-packages
==========================

Install and update foreign package dependencies (NPM, Yarn, PIP, etc) when a composer project is installed or updated.

v1.0.2(5y ago)01142MITPHP

Since Oct 12Pushed 5y ago2 watchersCompare

[ Source](https://github.com/Proximify/foreign-packages)[ Packagist](https://packagist.org/packages/proximify/foreign-packages)[ RSS](/packages/proximify-foreign-packages/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (1)Versions (4)Used By (2)

Foreign Packages
================

[](#foreign-packages)

Install and update foreign package dependencies (NPM, Yarn, PIP, etc) when a composer project is installed or updated.

Getting Started
---------------

[](#getting-started)

Add the following script commands to your `composer.json`

```
"scripts": {
    "post-install-cmd": "Proximify\\ForeignPackages::auto",
    "post-update-cmd": "Proximify\\ForeignPackages::auto",
    "post-create-project-cmd": "Proximify\\ForeignPackages::auto"
}
```

Create the file `ForeignPackages.json` under the `settings` folder of your project and define the paths to each type of foreign package. For example,

```
{
    "src/nodejs": "npm"
}
```

defines the directory `src/nodejs` as an NPM package. When your project is installed, the command `npm install` will be run within this directory. Similarly, when you project is updated, the command `npm update` will be run in that directory.

---

Contributing
------------

[](#contributing)

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to and actually do, grant us the rights to use your contribution. For details, visit our [Contributor License Agreement](https://github.com/Proximify/community/blob/master/docs/proximify-contribution-license-agreement.pdf).

When you submit a pull request, we will determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided. You will only need to do this once across all repositories using our CLA.

This project has adopted the [Proximify Open Source Code of Conduct](https://github.com/Proximify/community/blob/master/docs/code_of_conduct.md). For more information see the Code of Conduct FAQ or contact  with any additional questions or comments.

License
-------

[](#license)

Copyright (c) Proximify Inc. All rights reserved.

Licensed under the [MIT](https://opensource.org/licenses/MIT) license.

**Software component** is made by [Proximify](https://proximify.com). We invite the community to participate.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

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.

###  Release Activity

Cadence

Every ~3 days

Total

3

Last Release

2030d ago

### Community

Maintainers

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

---

Top Contributors

[![macrini](https://avatars.githubusercontent.com/u/1253463?v=4)](https://github.com/macrini "macrini (8 commits)")

### Embed Badge

![Health badge](/badges/proximify-foreign-packages/health.svg)

```
[![Health](https://phpackages.com/badges/proximify-foreign-packages/health.svg)](https://phpackages.com/packages/proximify-foreign-packages)
```

PHPackages © 2026

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