PHPackages                             bera/logger - 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. bera/logger

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

bera/logger
===========

a logger package

v1.0(6y ago)05MITPHPPHP ^7.2CI failing

Since Apr 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/joykumarbera/Logger)[ Packagist](https://packagist.org/packages/bera/logger)[ RSS](/packages/bera-logger/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Bera Logger
===========

[](#bera-logger)

Bera Logger is simple php logger which you can use in your php projects to log information.

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

[](#installation)

```
composer require bera/logger
```

Usage
-----

[](#usage)

create a new php file and add the following

```
include 'vendor/autoload.php';
$log = new Bera\Joy\Logger('log.txt',__DIR__);
$log->log('Hello World');
// 2020-04-14 13:10:07 :: INFO :: Hello World
```

you can also modify error levels indication for example:

```
include 'vendor/autoload.php';
$log = new Bera\Joy\Logger('log.txt',__DIR__);
$log->log('Hello World' , 'ERROR');
// 2020-04-13 13:10:07 :: ERROR :: Hello World
```

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

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License
-------

[](#license)

\[MIT\]

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

2226d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/83c1f3f5cf258ade50e6452be4f3108dc06bac26c222904b640e70e1e1c5c83e?d=identicon)[bera.dev.007](/maintainers/bera.dev.007)

---

Top Contributors

[![joykumarbera](https://avatars.githubusercontent.com/u/47684470?v=4)](https://github.com/joykumarbera "joykumarbera (8 commits)")

---

Tags

loggerphplogger

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bera-logger/health.svg)

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

###  Alternatives

[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[marvinlabs/laravel-discord-logger

Logging to a discord channel in Laravel

2081.1M2](/packages/marvinlabs-laravel-discord-logger)[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k7](/packages/inpsyde-wonolog)[amphp/log

Non-blocking logging for PHP based on Amp, Revolt, and Monolog.

402.6M70](/packages/amphp-log)[apix/log

Minimalist, thin and fast PSR-3 compliant (multi-bucket) logger.

511.0M18](/packages/apix-log)

PHPackages © 2026

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