PHPackages                             powerlinks/one-pixel - 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. powerlinks/one-pixel

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

powerlinks/one-pixel
====================

Faster way to get a transparent pixel for tracking purpose

22.3kPHP

Since Jul 7Pushed 10y ago5 watchersCompare

[ Source](https://github.com/powerlinks/one-pixel)[ Packagist](https://packagist.org/packages/powerlinks/one-pixel)[ RSS](/packages/powerlinks-one-pixel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

One Pixel
=========

[](#one-pixel)

This class return just a transparent single pixel for tracking purpose.

Composer
--------

[](#composer)

```
{
    "require": {
        "powerlinks/one-pixel": "1.0.x-dev"
    }
}

```

Usage
-----

[](#usage)

```
use PowerLinks\OnePixel\OnePixel;

// instantiating usage
$onePixel = new OnePixel();
$onePixel->getHeaders();
$onePixel->getPixel();

// static usage
OnePixel::getHeaders();
OnePixel::getPixel();
```

To use this library with symfony/http-foundation: 2.6.x

```
use Symfony\Component\HttpFoundation\Response;
use PowerLinks\OnePixel\OnePixel;

$response = new Response();
$response->headers->add(OnePixel::getHeaders());
$response->setContent(OnePixel::getPixel());
$response->send();
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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/a8ef973b2b8741ccd2ed1ba86d2a352f92e3e2d563a2803f47ab31fdafb71f1a?d=identicon)[powerlinks](/maintainers/powerlinks)

### Embed Badge

![Health badge](/badges/powerlinks-one-pixel/health.svg)

```
[![Health](https://phpackages.com/badges/powerlinks-one-pixel/health.svg)](https://phpackages.com/packages/powerlinks-one-pixel)
```

PHPackages © 2026

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