PHPackages                             pe/component-loop - 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. pe/component-loop

ActiveLibrary

pe/component-loop
=================

Timers loop

v1.1.0(3y ago)012PHPPHP ^7.4

Since Jul 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/pavlenko/php-component-loop)[ Packagist](https://packagist.org/packages/pe/component-loop)[ RSS](/packages/pe-component-loop/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Requirements
------------

[](#requirements)

The following versions of PHP are supported.

- PHP 7.4+

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

[](#installation)

To install, use composer:

```
php composer.phar require pe/component-loop

```

Usage
=====

[](#usage)

Loop used for run some callable delayed or repeated, example:

```
namespace PE\Component\Loop;

$loop = new Loop();

// For delayed run callable add singular timer
$loop->addSingularTimer(0.1, static function (Loop $loop, Timer $timer) {
    // Do some work delayed by 0.1 second
});

// For repeated run callable add periodic timer
$loop->addPeriodicTimer(0.5, static function (Loop $loop, Timer $timer) {
    // Do some work at each 0.5 second
});

// For stop loop execution you may add special timer
$loop->addSingularTimer(60, static function (Loop $loop) {
    $loop->stop();
});

// Run loop
$loop->run();
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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 ~14 days

Total

2

Last Release

1395d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5cf2cc7aeca3adf2a9ff304032c47261ecc3e94b18dbc1c972f1bfa9494ba645?d=identicon)[pavlenko](/maintainers/pavlenko)

---

Top Contributors

[![pavlenko](https://avatars.githubusercontent.com/u/1759651?v=4)](https://github.com/pavlenko "pavlenko (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pe-component-loop/health.svg)

```
[![Health](https://phpackages.com/badges/pe-component-loop/health.svg)](https://phpackages.com/packages/pe-component-loop)
```

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[api-platform/metadata

API Resource-oriented metadata attributes and factories

223.5M96](/packages/api-platform-metadata)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[flowwow/cloudpayments-php-client

cloudpayments api client

2188.2k](/packages/flowwow-cloudpayments-php-client)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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