PHPackages                             turbo124/collector - 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. turbo124/collector

Abandoned → [turbo124/beacon](/?search=turbo124%2Fbeacon)Library[Utility &amp; Helpers](/categories/utility)

turbo124/collector
==================

Application level data collector package for laravel

v3.0.2(2mo ago)1105MITPHPPHP ^8.2|^8.3|^8.4

Since Apr 22Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/turbo124/beacon)[ Packagist](https://packagist.org/packages/turbo124/collector)[ Docs](https://github.com/turbo124/beacon)[ RSS](/packages/turbo124-collector/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (15)Versions (81)Used By (0)

Beacon - A laravel application metric collector package.
========================================================

[](#beacon---a-laravel-application-metric-collector-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/944d58e12bf50201033cd2d3f8c62d2221cd663c8c6105d7f8b8190fefbac70d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f747572626f3132342f636f6c6c6563746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/turbo124/collector)[![Total Downloads](https://camo.githubusercontent.com/cd252240a92a1a4a0dbde558c97a2cbcfb1389c0a8b0bb98647f04acb27839f5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f747572626f3132342f636f6c6c6563746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/turbo124/collector)

This collector implements a native Laravel solution for collecting application statistics. Currently to enable this kind of functionality you would need to install Node and StatsD to your host and then begin piping your data. You'd then need to install a third party application to ingest the data and then display.

This client is part of the LightLogs application framework which enables ingesting and displaying from a single Open Source application.

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

[](#installation)

You can install the package via composer:

```
composer require turbo124/beacon
```

Usage
-----

[](#usage)

The default method to send metrics is to create a static property class (see /src/ExampleMetric/GenericCounter) and build a collect like this

```
LightLogs::create(new GenericCounter())
        ->increment()
        ->batch();
```

This will batch the metric requests and an underlying Scheduler job will process all metric every 5 minutes (please note you will need to have the Laravel Scheduler running for these jobs to be dispatched).

Whilst not advised to do this in production due to the latency overhead, if your metric needs to be fired immediately you can do this syncronously using the following.

```
LightLogs::create(new GenericCounter())
        ->increment()
        ->send();
```

A better way to handle jobs that need to be fired immediately without blocking would be to use the -&gt;queue() method which will dispatch a Job onto the applications queue

```
LightLogs::create(new GenericCounter())
        ->increment()
        ->queue();
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [David Bomba](https://github.com/turbo124)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance93

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

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

Recently: every ~126 days

Total

80

Last Release

68d ago

Major Versions

0.9.0 → 1.0.02020-06-10

v1.5.2 → v2.0.02024-05-31

v2.0.4 → v3.0.02025-09-01

PHP version history (6 changes)v0.0.1PHP ^7.1

v0.0.2PHP ^7.3

1.0.4PHP ^7.3|^7.4|^8

v1.3.0PHP ^8

v3.0.0PHP ^8.2|^8.3

v3.0.2PHP ^8.2|^8.3|^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5827962?v=4)[David Bomba](/maintainers/turbo124)[@turbo124](https://github.com/turbo124)

---

Top Contributors

[![turbo124](https://avatars.githubusercontent.com/u/5827962?v=4)](https://github.com/turbo124 "turbo124 (111 commits)")

---

Tags

beaconturbo124light logslightlogs

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/turbo124-collector/health.svg)

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

###  Alternatives

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[pulkitjalan/ip-geolocation

IP Geolocation Wrapper with Laravel Support

89164.9k1](/packages/pulkitjalan-ip-geolocation)[adrianorosa/laravel-geolocation

Laravel Geo Location package to get details for a given IP Address

6593.3k1](/packages/adrianorosa-laravel-geolocation)[bakame/laravel-domain-parser

Laravel package to integrate PHP Domain parser.

26534.8k4](/packages/bakame-laravel-domain-parser)

PHPackages © 2026

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