PHPackages                             logs/logs\_hub - 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. logs/logs\_hub

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

logs/logs\_hub
==============

v1.1.8(5y ago)04.7kMITPHP

Since Oct 5Pushed 5y ago2 watchersCompare

[ Source](https://github.com/Odai-Atef/logs_hub_php)[ Packagist](https://packagist.org/packages/logs/logs_hub)[ RSS](/packages/logs-logs-hub/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (7)DependenciesVersions (6)Used By (0)

Custom Logs File generator for LOGS HUB Python 3
================================================

[](#custom-logs-file-generator-for-logs-hub-python-3)

### Installation

[](#installation)

composer require logs/logs\_hub

### Available functions

[](#available-functions)

We have 4 types of logs:

- warning
- error
- critical
- info

### Function Parameters

[](#function-parameters)

For each function we have five parameters three of them are required and the others are optional

- message (\*)
- level (\*)
- application (\*)
- user\_id
- extra\_data

### env file

[](#env-file)

The file contains the path of logs file and code for each level

### Usage &amp; Examples

[](#usage--examples)

use logs\\logs\_hub; $logs = new logs\_hub();

- $logs-&gt;warning("MESSAGE","NEWS",3,{"key":"value"});
- $logs-&gt;error("MESSAGE","NEWS",3);
- $logs-&gt;info("MESSAGE","NEWS");
- $logs-&gt;critical("MESSAGE","NEWS",None,{"key":"value"});

License
-------

[](#license)

Odai Atef **Free to use**

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Total

5

Last Release

1997d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/38468940?v=4)[odaiatef](/maintainers/odaiatef)[@odaiatef](https://github.com/odaiatef)

---

Top Contributors

[![Odai-Atef](https://avatars.githubusercontent.com/u/5248421?v=4)](https://github.com/Odai-Atef "Odai-Atef (5 commits)")

### Embed Badge

![Health badge](/badges/logs-logs-hub/health.svg)

```
[![Health](https://phpackages.com/badges/logs-logs-hub/health.svg)](https://phpackages.com/packages/logs-logs-hub)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B10.8k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1938.5M261](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M315](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)[relaxart/monolog-docker-handler

Docker handler for monolog

1442.6k](/packages/relaxart-monolog-docker-handler)

PHPackages © 2026

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