PHPackages                             abhishek6262/nodephp - 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. abhishek6262/nodephp

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

abhishek6262/nodephp
====================

A PHP wrapper around Node JS.

v0.2.1(7y ago)359MITPHPPHP ^7.1

Since Feb 6Pushed 7y ago2 watchersCompare

[ Source](https://github.com/abhishek6262/NodePHP)[ Packagist](https://packagist.org/packages/abhishek6262/nodephp)[ RSS](/packages/abhishek6262-nodephp/feed)WikiDiscussions master Synced today

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

NodePHP
=======

[](#nodephp)

The PHP instance of Project-Level Node JS.

This library allows you to install node js on your project making it possible for you to use node js even when it is not installed in the system. Moreover, You can consume the power of node js, npm and npx commands with ease using a php class.

[Read Blog Post.](https://www.shade.codes/introducing-project-level-node-js/)

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

[](#installation)

NodePHP is available on Packagist and installation via Composer is the recommended way to install NodePHP.

```
composer require abhishek6262/nodephp

```

Examples
--------

[](#examples)

```
require_once "vendor/autoload.php";

// $environment = new \abhishek6262\NodePHP\System\Environment('projectRootPath', 'binDirectoryPath');
$environment = new \abhishek6262\NodePHP\System\Environment(__DIR__);

$npm = new \abhishek6262\NodePHP\NPM($environment);

if (! $npm->exists()) {
    $npm->install();
}

if ($npm->packagesExists() && ! $npm->packagesInstalled()) {
    $response = $npm->installPackages();

    if ($response->statusCode() == '0') {
        echo "Packages successfully installed.";
    } else {
        echo "Failed to install the packages.";
    }

    print_r($response->output());
}

```

Credits
-------

[](#credits)

- [Abhishek Prakash](https://github.com/abhishek6262)

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

[](#contributing)

Please feel free to fork this package and contribute by submitting a pull request to enhance the functionality. I will appreciate that a lot. Also please add your name to the credits.

Kindly [follow me on twitter](https://twitter.com/_the_shade)!

Support
-------

[](#support)

Moreover, To keep this and my other open source projects ongoing You can also support me on Patreon by clicking on the button below.

[![](https://camo.githubusercontent.com/ef7b855018f1f680eeba6fd1ac470b9c1971ef883b2f4b9fcf41034274510e3f/68747470733a2f2f63352e70617472656f6e2e636f6d2f65787465726e616c2f6c6f676f2f6265636f6d655f615f706174726f6e5f627574746f6e2e706e67)](https://www.patreon.com/bePatron?u=5563585)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% 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 ~32 days

Total

3

Last Release

2587d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0194876107055dfa66b775b154b87260d4af7653c65f70715a20659683436fbd?d=identicon)[abhishek6262](/maintainers/abhishek6262)

---

Top Contributors

[![abhishek6262](https://avatars.githubusercontent.com/u/16699718?v=4)](https://github.com/abhishek6262 "abhishek6262 (14 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (1 commits)")

---

Tags

nodenodejsnodejs-modulesphpphp7

### Embed Badge

![Health badge](/badges/abhishek6262-nodephp/health.svg)

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

###  Alternatives

[wyrihaximus/file-descriptors

List open file descriptors for the current process cross platform

16258.8k2](/packages/wyrihaximus-file-descriptors)[tivie/command

An utility library that harmonizes OS differences and executes external programs in a safer way

1455.3k1](/packages/tivie-command)

PHPackages © 2026

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