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 1mo ago

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 14% 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://www.gravatar.com/avatar/7425b90cd42f28c5e5f13ee39f68cf35d7204b98d5686c96dbff34706aa4322e?d=identicon)[objectified](/maintainers/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.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[ekino/newrelic-bundle

Integrate New Relic into Symfony2

28111.2M8](/packages/ekino-newrelic-bundle)

PHPackages © 2026

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