PHPackages                             devbabuind/non-blocking-php - 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. devbabuind/non-blocking-php

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

devbabuind/non-blocking-php
===========================

023PHP

Since Jan 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/devbabuind/non-blocking-php)[ Packagist](https://packagist.org/packages/devbabuind/non-blocking-php)[ RSS](/packages/devbabuind-non-blocking-php/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

non-blocking-php
================

[](#non-blocking-php)

Library for non blocking background jobs in PHP

Installation
============

[](#installation)

Install composer in your project:

```
curl -s https://getcomposer.org/installer | php
```

Create a `composer.json` file in your project root:

```
{
    "require": {
        "devbabuind/non-blocking-php": "dev-master"
    }
}
```

Install via composer:

```
php composer.phar install
```

Basic Usage
===========

[](#basic-usage)

Hello World
-----------

[](#hello-world)

Add this line to your application's index.php file:

```
require 'vendor/autoload.php';
```

Import the required classes into your namespace:

```
use DevBabuInd\NonBlockingPHP\Execute;
```

Instantiate a new Execute:

```
$execute = new Execute(array('autoMode' => true));
```

Add some parameters:

```
$query_params = array('foo'=>'bar');
$folder_protection = array('username' => 'test', 'password' => 'test');
/* sample parameters */
$params = array(
    'url' => 'http://www.yourappdomain.com/job.php',
    'command' => 'php /folderpathofyourapp/job.php',
    'auth' => $folder_protection,
    'args' => $query_params
);
```

Now run the job:

```
$result = $execute->run($params);
```

You can get the output:

```
if ($result) {
    echo "Yay! Background call initiated";
} else {
    print_r($execute->getError());
}
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.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.

### Community

Maintainers

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

---

Top Contributors

[![devbabuind](https://avatars.githubusercontent.com/u/11896216?v=4)](https://github.com/devbabuind "devbabuind (5 commits)")[![asvin1208](https://avatars.githubusercontent.com/u/24895127?v=4)](https://github.com/asvin1208 "asvin1208 (1 commits)")

### Embed Badge

![Health badge](/badges/devbabuind-non-blocking-php/health.svg)

```
[![Health](https://phpackages.com/badges/devbabuind-non-blocking-php/health.svg)](https://phpackages.com/packages/devbabuind-non-blocking-php)
```

###  Alternatives

[primal/color

Collection of classes for converting and manipulating colors

24535.1k8](/packages/primal-color)

PHPackages © 2026

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