PHPackages                             jlis/quickmetrics-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. jlis/quickmetrics-php

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

jlis/quickmetrics-php
=====================

A unofficial PHP client for Quickmetrics (quickmetrics.io)

v1.0.0(6y ago)14.2kMITPHPPHP &gt;=5.6.0CI failing

Since Nov 15Pushed 6y ago1 watchersCompare

[ Source](https://github.com/jlis/quickmetrics-php)[ Packagist](https://packagist.org/packages/jlis/quickmetrics-php)[ Docs](https://github.com/jlis/quickmetrics-php)[ RSS](/packages/jlis-quickmetrics-php/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

quickmetrics-php
================

[](#quickmetrics-php)

[![Build Status](https://camo.githubusercontent.com/51467daf3cb72bb577bf2168841aa12018f8084467508f1e81fb0fdd659e274b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a6c69732f717569636b6d6574726963732d7068702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/jlis/quickmetrics-php)[![StyleCI](https://camo.githubusercontent.com/dcb435f111fe1ff6af7d71dc2f89fd92f8d76087bcb3fb7f80583f92113f19c1/68747470733a2f2f7374796c6563692e696f2f7265706f732f3232313635353536332f736869656c64)](https://styleci.io/repos/221655563)

A unofficial PHP client for Quickmetrics (quickmetrics.io)

Install
-------

[](#install)

To install the client you will need to be using Composer in your project. To install it please see the [docs](https://getcomposer.org/download/).

Install the client using

```
composer require jlis/quickmetrics-php
```

Usage
-----

[](#usage)

```
// create the client
$client = new \Jlis\Quickmetrics\Client('quickmetrics api key');

// collect the event
$client->event('event.name', 1.0, 'dimension');

// send the event to Quickmetrics.io
$client->flush();
```

You can also initialize the client with other options:

```
$client = new \Jlis\Quickmetrics\Client('your api key', [
    'url' => 'https://someotherurl.tld',
    'max_batch_size' => 10,
    'timeout' => 5,
    'connect_timeout' => 2,
]);
```

There are the following options:

OptionUsageTypeDefault`url`The Quickmetrics API endpointstring`max_batch_size`Amount of collected events until a batch request is triggered without the need to call `flush()`int100`timeout`Number describing the timeout of the request in secondsint1`connect_timeout`Number describing the number of seconds to wait while trying to connect to a serverint1Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

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

[](#contributing)

Dependencies are managed through composer:

```
$ composer install

```

Tests can then be run via phpunit:

```
$ vendor/bin/phpunit

```

Thanks
------

[](#thanks)

Big thanks to [Billomat](https://billomat.com) which let my develop this library during my work time.

[ ![](https://camo.githubusercontent.com/262ef24aab90d1c1972432e207ae9d6bbd94a8cd2abf83100d861f0b2a21d2ee/68747470733a2f2f7777772e62696c6c6f6d61742e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031392f30372f6c6f676f5f3330305f74725f6f686e65736c6f67616e5f31303030783232362e706e67)](https://billomat.com)License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

2375d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/25b826c5ac145a7fb5a19710a1b04b940ca8cc801f3503d35af4afbaf6fe3283?d=identicon)[jlis](/maintainers/jlis)

---

Top Contributors

[![jlis](https://avatars.githubusercontent.com/u/1401164?v=4)](https://github.com/jlis "jlis (23 commits)")

---

Tags

phpclientsdkeventsMetricsquickmetrics

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/jlis-quickmetrics-php/health.svg)

```
[![Health](https://phpackages.com/badges/jlis-quickmetrics-php/health.svg)](https://phpackages.com/packages/jlis-quickmetrics-php)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[volcengine/volc-sdk-php

Volcengine SDK for PHP

35113.0k4](/packages/volcengine-volc-sdk-php)[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)
