PHPackages                             furqat/laravel-console-log - 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. [CLI &amp; Console](/categories/cli)
4. /
5. furqat/laravel-console-log

ActiveLibrary[CLI &amp; Console](/categories/cli)

furqat/laravel-console-log
==========================

This package allows backend developers to effortlessly output messages and values in the terminal, serving as the PHP equivalent of console log for Laravel.

0.5(1y ago)6621[4 PRs](https://github.com/FurqatMashrabjonov/laravel-console-log/pulls)MITPHPPHP ^8.2CI passing

Since Sep 2Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/FurqatMashrabjonov/laravel-console-log)[ Packagist](https://packagist.org/packages/furqat/laravel-console-log)[ Docs](https://github.com/furqat/laravel-console-log)[ GitHub Sponsors]()[ RSS](/packages/furqat-laravel-console-log/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (12)Versions (10)Used By (0)

[![Code Example](docs/code-example.png)](docs/code-example.png)[![Code Example](docs/output-example.png)](docs/output-example.png)

Laravel Console Log
===================

[](#laravel-console-log)

This package allows backend developers to effortlessly output messages and values in the browser's console via PHP.

[![Latest Version on Packagist](https://camo.githubusercontent.com/6b86984c8513f8d7c84b61536ffeeadfef0722cd5273c381ac2b7e1ce886b29f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6675727161742f6c61726176656c2d636f6e736f6c652d6c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/furqat/laravel-console-log)[![Total Downloads](https://camo.githubusercontent.com/e7a02f32cfddac1aef27cb4eadc6b28f70be9abcc9420ed05d1e325a4acefd6c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6675727161742f6c61726176656c2d636f6e736f6c652d6c6f672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/furqat/laravel-console-log)

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

[](#installation)

You can install the package via composer:

```
composer require furqat/laravel-console-log
```

Usage
-----

[](#usage)

```
class HomeController extends Controller
{
    public function index()
    {

        $users = User::all();

        //it will show the count of users in the console of browser
        console()->info('The count of users is: ' . $users->count());

        return view('users', compact($users));
    }
}
```

How It Works
------------

[](#how-it-works)

When you call console()-&gt;log(...$args) in your Laravel application, the package stores the logged messages and values in the cache. This allows the logs to be easily accessed and managed without cluttering the terminal or log files.

To view these logs, simply open any view in your browser. The package streams the cached logs to the frontend in real-time and show logs in browser's console using console.log(), providing a clear and organized view of all your log entries. This makes it easy for developers to monitor and debug their applications without interrupting their workflow.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Furqatbek Mashrabjonov](https://github.com/FurqatMashrabjonov)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance66

Regular maintenance activity

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68.6% 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 ~0 days

Total

5

Last Release

618d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8f8f93770bcad0a079b21b652f226f1e55b86e6f794995e030797e221b99216a?d=identicon)[FurqatMashrabjonov](/maintainers/FurqatMashrabjonov)

---

Top Contributors

[![FurqatMashrabjonov](https://avatars.githubusercontent.com/u/61729454?v=4)](https://github.com/FurqatMashrabjonov "FurqatMashrabjonov (24 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")

---

Tags

laravelFurqatbek Mashrabjonovlaravel-console-log

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/furqat-laravel-console-log/health.svg)

```
[![Health](https://phpackages.com/badges/furqat-laravel-console-log/health.svg)](https://phpackages.com/packages/furqat-laravel-console-log)
```

###  Alternatives

[worksome/envy

Automatically keep your .env files in sync.

6871.8M](/packages/worksome-envy)[spatie/laravel-signal-aware-command

Handle signals in artisan commands

16613.2M2](/packages/spatie-laravel-signal-aware-command)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[lorisleiva/artisan-ui

Run your artisan commands by pressing buttons.

2254.1k](/packages/lorisleiva-artisan-ui)[geowrgetudor/command-history

Track Laravel Artisan commands executions inside Laravel Pulse

1324.1k](/packages/geowrgetudor-command-history)[thettler/laravel-console-toolkit

This Package provides some usefully console features like the attribute syntax for arguments and options, validation, auto ask and casting.

324.1k](/packages/thettler-laravel-console-toolkit)

PHPackages © 2026

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