PHPackages                             isbkch/laravel5-tail - 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. isbkch/laravel5-tail

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

isbkch/laravel5-tail
====================

A tail command for Laravel 5

1.4.0(7y ago)11.3kMITPHPPHP &gt;=5.5.9

Since Apr 26Pushed 7y agoCompare

[ Source](https://github.com/isbkch/laravel5-tail)[ Packagist](https://packagist.org/packages/isbkch/laravel5-tail)[ Docs](https://github.com/isbkch/laravel5-tail)[ RSS](/packages/isbkch-laravel5-tail/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

A tail command for Laravel 5
============================

[](#a-tail-command-for-laravel-5)

This package adds the tail command to Laravel 5. This package works for daily and single logs and has support for tailing local and the remote logs.

Install
-------

[](#install)

You can install the package via composer:

```
composer require isbkch/laravel5-tail
```

You must install this service provider:

```
// config/app.php

'providers' => [
    ...
    Isbkch\Tail\TailServiceProvider::class,
    ...
];
```

If you're planning on tailing remote logs you must publish the config file with this command:

```
php artisan vendor:publish --provider="Isbkch\Tail\TailServiceProvider"
```

A file named `tail.php` will be created in the config directory. The options you can set in the file should be self-explanatory. PS: You can get the username from the .env file

```
return [

    'connections' => [

        /*
         * The environment name. You can use this value in the tail command.
         */
        'production' => [

             // Hostname of the server where the logs are located
            'host' => '',

             // Username to be used when connecting to the server where the logs are located
            'user'  => env('TAIL_USERNAME', 'isbkch'),

             // Full path to the directory where the logs are located
            'logDirectory' => '',
        ],

        // Change it to 'true' if you have grc (Generic Colouriser) installed in your system
        // To install grc on Debian based: sudo apt-get install grc
        'grc' => 'false'
    ],
];
```

Usage
-----

[](#usage)

To tail the local log you can use this command:

```
php artisan tail
```

By default the last 20 lines will be shown. You can change that number by using the `lines`-option.

```
php artisan tail --lines=50
```

To tail a remote log you must first specify `hostname` and `logDirectory` in the config-file. After you've done that you can tail the remote logs by specify the environment as an argument.

```
php artisan tail production
```

Credits
-------

[](#credits)

- [Freek Van der Herten](https://github.com/freekmurze)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 60% 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 ~182 days

Recently: every ~227 days

Total

6

Last Release

2756d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/48c515a3a19dea0a72765b0c0eacf5000662ccddbaddde2d4322e5054c6a212c?d=identicon)[isbkch](/maintainers/isbkch)

---

Top Contributors

[![isbkch](https://avatars.githubusercontent.com/u/216867?v=4)](https://github.com/isbkch "isbkch (6 commits)")[![ads-engineering](https://avatars.githubusercontent.com/u/28064950?v=4)](https://github.com/ads-engineering "ads-engineering (4 commits)")

---

Tags

logtaillaravel 5laravel5-tail

### Embed Badge

![Health badge](/badges/isbkch-laravel5-tail/health.svg)

```
[![Health](https://phpackages.com/badges/isbkch-laravel5-tail/health.svg)](https://phpackages.com/packages/isbkch-laravel5-tail)
```

###  Alternatives

[spatie/laravel-activitylog

A very simple activity logger to monitor the users of your website or application

5.8k45.4M309](/packages/spatie-laravel-activitylog)[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k114.3M154](/packages/sentry-sentry-laravel)[spatie/laravel-tail

Easily tail application logs

7592.5M4](/packages/spatie-laravel-tail)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299549.3k1](/packages/larabug-larabug)[jackiedo/log-reader

An easy log reader and management tool for Laravel

151376.5k4](/packages/jackiedo-log-reader)

PHPackages © 2026

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