PHPackages                             devdot/log-artisan - 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. devdot/log-artisan

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

devdot/log-artisan
==================

View and manage log files using the artisan CLI

v2.6(2mo ago)7404↓88.2%MITPHPPHP ^8.2

Since Feb 6Pushed 2mo ago1 watchersCompare

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

READMEChangelogDependencies (16)Versions (13)Used By (0)

Log Artisan
===========

[](#log-artisan)

Access laravel logs through the Artisan Console.

This package is using [devdot/monolog-parser](https://github.com/devdot/monolog-parser) to parse logfiles that were created by Laravel.

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

[](#installation)

Add the package to your Laravel application:

```
composer require devdot/log-artisan
```

Basic Usage
-----------

[](#basic-usage)

Take a look at the last few log entries using the console:

```
php artisan log:show
```

Example result:

[![log-show](https://user-images.githubusercontent.com/3763567/223183564-a45a6a74-459c-4c5e-8169-e5d780940901.PNG)](https://user-images.githubusercontent.com/3763567/223183564-a45a6a74-459c-4c5e-8169-e5d780940901.PNG)

Show the results in a compressed single line view using `--singleline` or `-s`:

[![log-show-singleline](https://user-images.githubusercontent.com/3763567/223183791-2be7ea2c-2ad9-4cdb-9185-1d3bbebf161f.PNG)](https://user-images.githubusercontent.com/3763567/223183791-2be7ea2c-2ad9-4cdb-9185-1d3bbebf161f.PNG)

Search through logs using `log:search`, with search terms that can be regex:

[![log-search](https://user-images.githubusercontent.com/3763567/223183949-92c79a55-0faa-4b88-9555-cea0fc5a468b.PNG)](https://user-images.githubusercontent.com/3763567/223183949-92c79a55-0faa-4b88-9555-cea0fc5a468b.PNG)

Clear all log files like this:

```
php artisan log:clear
```

Documentation
-------------

[](#documentation)

### About Command

[](#about-command)

View details about the current logging configuration and status:

```
php artisan log:about
```

### Show Command

[](#show-command)

Show entries from the logs (this will merge all logfiles and sort by date).

```
php artisan log:show
```

Use these options to narrow the results:

OptionNameDescription-c, --countCountShow this amount of entries, default is 10-l, --levelLog LevelShow only entries with this log level--channelLog ChannelUse this specified logging channel--shortShort viewOnly show short snippets-s, --singlelineSingle-line viewShow single-lined layout--stacktraceStacktrace viewShow the full stacktraceExample (show full logged stacktraces for the latest 100 log entries with level DEBUG):

```
php artisan log:show -c100 --level=DEBUG --stacktrace
```

### Search Command

[](#search-command)

Search through the results with a given search term. The search term is treated as PHP regular expression, so make sure to escape any special characters like `.` or `*`.

```
php artisan log:search test
php artisan log:search "(test|regex \w+)"
```

Options are the same as with `log:show`.

### Clear Command

[](#clear-command)

Clear a given logging channel. Use option `--all` to clear all configured channels.

```
php artisan log:clear single
php artisan log:clear --all
```

This command will write a new log entry to each cleared file.

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance86

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~253 days

Total

12

Last Release

67d ago

Major Versions

v1.0.1 → v2.0.02023-03-06

PHP version history (2 changes)v1.0PHP ^8.0

v2.4PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f163f5df7377ef004e7cdaf08b905936b0af3d85b680d986dce83fd1bd0a0ad?d=identicon)[thomaskuschan](/maintainers/thomaskuschan)

---

Top Contributors

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

---

Tags

laraveldevdotlog managementlog viewlog artisan

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/devdot-log-artisan/health.svg)

```
[![Health](https://phpackages.com/badges/devdot-log-artisan/health.svg)](https://phpackages.com/packages/devdot-log-artisan)
```

###  Alternatives

[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M165](/packages/spatie-laravel-health)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M150](/packages/laravel-mcp)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k21.5M587](/packages/laravel-boost)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)

PHPackages © 2026

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