PHPackages                             rhyslees/log-channel-laravel - 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. rhyslees/log-channel-laravel

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

rhyslees/log-channel-laravel
============================

This is my package log-channel-laravel

1.0.1(3y ago)015[3 PRs](https://github.com/RhysLees/log-channel-laravel/pulls)MITPHPPHP ^8.2

Since Mar 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/RhysLees/log-channel-laravel)[ Packagist](https://packagist.org/packages/rhyslees/log-channel-laravel)[ Docs](https://github.com/rhyslees/log-channel-laravel)[ RSS](/packages/rhyslees-log-channel-laravel/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (13)Versions (6)Used By (0)

This is my package log-channel-laravel
======================================

[](#this-is-my-package-log-channel-laravel)

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

[](#installation)

You can install the package via composer:

```
composer require rhyslees/log-channel-laravel
```

Add the following to your `config\logging.php` file:

```
'channels' => [
    ...

    'logchannel' => [
        'driver' => 'custom',
        'via' => \RhysLees\LogChannelLaravel\LogChannelLaravel::class,
        'key' => env('LOG_CHANNEL_KEY', ''),
        'app_id' => env('LOG_CHANNEL_APP_ID', ''),
        'endpoint' => env('LOG_CHANNEL_ENDPOINT', 'https://logchannel.co.uk/api/app'),
    ],

    ...
],
```

Then add the channel to the stack:

```
'stack' => [
    'driver' => 'stack',
    'channels' => ['single', 'logchannel'],
    'ignore_exceptions' => false,
],
```

You can publish the config file with:

```
php artisan vendor:publish --tag="log-channel-laravel-config"
```

This is the contents of the published config file:

```
return [
    'key' => env('LOG_CHANNEL_KEY', ''),
    'app_id' => env('LOG_CHANNEL_APP_ID', ''),
    'endpoint' => env('LOG_CHANNEL_ENDPOINT', 'https://logchannel.co.uk/api/app'),
];
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="log-channel-laravel-views"
```

Usage
-----

[](#usage)

### As Log Channel

[](#as-log-channel)

### As Facade

[](#as-facade)

```
$logChannelLaravel = new RhysLees\LogChannelLaravel();
echo $logChannelLaravel->echoPhrase('Hello, RhysLees!');
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Rhys Lees](https://github.com/RhysLees)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

2

Last Release

1196d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ec1bfd05f95c19d3d12c7bb0fd2abc097b62e49cc0dfa32d6e6460c76607c95?d=identicon)[RhysLees](/maintainers/RhysLees)

---

Top Contributors

[![RhysLees](https://avatars.githubusercontent.com/u/43909932?v=4)](https://github.com/RhysLees "RhysLees (9 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")

---

Tags

laravelRhysLeeslog-channel-laravel

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/rhyslees-log-channel-laravel/health.svg)

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

###  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)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M164](/packages/spatie-laravel-health)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M99](/packages/dedoc-scramble)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k38](/packages/spatie-laravel-passkeys)[keepsuit/laravel-opentelemetry

OpenTelemetry integration for laravel

167558.4k1](/packages/keepsuit-laravel-opentelemetry)

PHPackages © 2026

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