PHPackages                             m6w6/atick - 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. m6w6/atick

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

m6w6/atick
==========

Asynchronous resource handling, optionally (ab)using ticks

16PHP

Since Nov 25Pushed 12y ago1 watchersCompare

[ Source](https://github.com/m6w6/atick)[ Packagist](https://packagist.org/packages/m6w6/atick)[ RSS](/packages/m6w6-atick/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

atick
=====

[](#atick)

[![Build Status](https://camo.githubusercontent.com/a9f7dd2b4a7d9c8019ba7411e6eb8b1d67cc792957075a4e459fce1d61455357/68747470733a2f2f7472617669732d63692e6f72672f6d696b652d7068702d6e65742f617469636b2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/mike-php-net/atick)

Asynchronnous resource handling, optionally (ab)using ticks.

**Example with ticks:**

```
declare(ticks=1);

$conn = new \pq\Connection;
$conn->execAsync("SELECT * FROM foo", function ($rs) {
    var_dump($rs);
});

$ticker = new \atick\Ticker;
$ticker->register();
$ticker->read($conn->socket, function($fd) use ($conn) {
    $conn->poll();
    if ($conn->busy) {
        return false;
    }
    $conn->getResult();
    return true;
});

while (count($ticker));
```

**And an example without ticks:**

```
$conn = new \pq\Connection;
$conn->execAsync("SELECT * FROM foo", function ($r) {
    var_dump($r);
});

$ticker = new \atick\Ticker;
$ticker->read($conn->socket, function($fd) use ($conn) {
    $conn->poll();
    if ($conn->busy) {
        return false;
    }
    $conn->getResult();
    return true;
});

while($ticker());
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2aba95ff5669114af00bd2d49612ffab9e4a29312c00062abef657fec7a2f122?d=identicon)[m6w6](/maintainers/m6w6)

---

Top Contributors

[![m6w6](https://avatars.githubusercontent.com/u/1265282?v=4)](https://github.com/m6w6 "m6w6 (13 commits)")

### Embed Badge

![Health badge](/badges/m6w6-atick/health.svg)

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

###  Alternatives

[beyondcode/laravel-favicon

Create dynamic favicons based on your environment settings.

37345.5k](/packages/beyondcode-laravel-favicon)[stuttter/wp-multi-network

Provides a Network Management Interface for global administrators in WordPress Multisite installations.

23324.1k1](/packages/stuttter-wp-multi-network)[xandros15/slim-pagination

simple pagination for slim3

118.0k](/packages/xandros15-slim-pagination)[element119/module-custom-admin-logo

A Magento 2 module that allows admins to set the logo for their admin panel and login screen.

132.1k](/packages/element119-module-custom-admin-logo)

PHPackages © 2026

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