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)7621[4 PRs](https://github.com/FurqatMashrabjonov/laravel-console-log/pulls)MITPHPPHP ^8.2CI passing

Since Sep 2Pushed 2mo 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 today

READMEChangelog (5)Dependencies (12)Versions (11)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 81% of packages

Maintenance63

Regular maintenance activity

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

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

669d 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

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

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