PHPackages                             objectified/logtailminutes - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. objectified/logtailminutes

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

objectified/logtailminutes
==========================

Log extraction utility

16PHP

Since Jan 23Pushed 13y agoCompare

[ Source](https://github.com/objectified/logtailminutes)[ Packagist](https://packagist.org/packages/objectified/logtailminutes)[ RSS](/packages/objectified-logtailminutes/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

logtailminutes
==============

[](#logtailminutes)

Dead simple, tiny utility to extract lines from log files based on time range. Usage:

```
$tail = new LogTailMinutes(
    '/path/to/logfile',  // log file to extract files from
    'd/m/Y',            // date format used in the log file, see php.net/date
    10,                 // how many minutes to go back
    'now',              // time expression to start from, see php.net/strtotime
    '/path/to/egrep'    // path to egrep binary
);

// optionally, set a filter on the matching results (egrep compatible regex)
$tail->setFilterRegex('HTTP/1.1" (4|5)[0-9]{2}');

// get matched lines
$lines = $tail->getLines();

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

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://avatars.githubusercontent.com/u/1171716?v=4)[objectified](/maintainers/objectified)[@objectified](https://github.com/objectified)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/objectified-logtailminutes/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M276](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M343](/packages/open-telemetry-sdk)

PHPackages © 2026

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