PHPackages                             oneawebmarketing/loghub-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. oneawebmarketing/loghub-laravel

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

oneawebmarketing/loghub-laravel
===============================

Laravel Wrapper for LogHub.cloud

1.0.0(1y ago)02.5k↓50%MITPHP

Since Jan 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/1aWebmarketing/loghub-laravel)[ Packagist](https://packagist.org/packages/oneawebmarketing/loghub-laravel)[ RSS](/packages/oneawebmarketing-loghub-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Laravel wrapper for LogHub.cloud
================================

[](#laravel-wrapper-for-loghubcloud)

LogHub is a cloud logging platform to aggregate your logs from all your projects.

Installing
----------

[](#installing)

The recommended way to install LogHub PHP is through [Composer](https://getcomposer.org/).

```
composer require oneawebmarketing/loghub-laravel
```

Activation
----------

[](#activation)

In your `bootstrap/app.php` add the LogHubExceptionsHandler to your Exception Handlers

```
withRouting(
        web: __DIR__.'/../routes/web.php',
        commands: __DIR__.'/../routes/console.php',
        health: '/up',
    )
    ->withMiddleware(function (Middleware $middleware) {
        //
    })
    ->withExceptions(function (Exceptions $exceptions) {
        LogHubExceptionsHandler::handles($exceptions);
    })->create();
```

### .env file and configuration

[](#env-file-and-configuration)

Provide your LogHub.cloud API Key in your .env with the key `LOGHUB_API_KEY`

By default the plugin will be sending Logs to LogHub if in `local` and `production` environment but feel free to change this as you like.

For this you can use the below artisan command and choose `LogHub\ServiceProvider`.

```
php artisan vendor:publish
```

Set the desired environments in `config/loghub.php`.

Security
--------

[](#security)

If you discover a security vulnerability within this package, please send an email to . All security vulnerabilities will be promptly addressed. Please do not disclose security-related issues publicly until a fix has been announced.

License
-------

[](#license)

This repository is made available under the MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance42

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

476d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/72da5b2605871911fe98f985e4cf7b8967e48ffd6eb322e8c330baea8746257c?d=identicon)[1aWebmarketing](/maintainers/1aWebmarketing)

---

Top Contributors

[![mhomeister](https://avatars.githubusercontent.com/u/16844537?v=4)](https://github.com/mhomeister "mhomeister (1 commits)")

---

Tags

logginglogging-librarylogging-system

### Embed Badge

![Health badge](/badges/oneawebmarketing-loghub-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/oneawebmarketing-loghub-laravel/health.svg)](https://phpackages.com/packages/oneawebmarketing-loghub-laravel)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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