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 today

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 62% 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

2804d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/216867?v=4)[iLyas Bakouch](/maintainers/isbkch)[@isbkch](https://github.com/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-health

Monitor the health of a Laravel application

87411.3M154](/packages/spatie-laravel-health)[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M163](/packages/laravel-ai)[spatie/laravel-tail

Easily tail application logs

7482.6M4](/packages/spatie-laravel-tail)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

721160.4k12](/packages/tallstackui-tallstackui)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

419662.2k5](/packages/yadahan-laravel-authentication-log)[inspector-apm/inspector-laravel

Code Execution Monitoring, built for developers.

2352.1M5](/packages/inspector-apm-inspector-laravel)

PHPackages © 2026

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