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

ActivePagekit-extension[Logging &amp; Monitoring](/categories/logging)

nativerank/pagekit-logger
=========================

Easy logging in any of your Pagekit extensions

1.0.1(9y ago)381[1 issues](https://github.com/crwgregory/pagekitlogger/issues)MITJavaScript

Since Apr 8Pushed 9y ago2 watchersCompare

[ Source](https://github.com/crwgregory/pagekitlogger)[ Packagist](https://packagist.org/packages/nativerank/pagekit-logger)[ RSS](/packages/nativerank-pagekit-logger/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (13)Used By (0)

pagekit-logger
==============

[](#pagekit-logger)

Allows for easy logging in the Pagekit CMS
------------------------------------------

[](#allows-for-easy-logging-in-the-pagekit-cms)

[![pagekit-logger-preview](https://cloud.githubusercontent.com/assets/9405969/16782635/b00867e0-483d-11e6-9ab5-5dbac842bd21.gif)](https://cloud.githubusercontent.com/assets/9405969/16782635/b00867e0-483d-11e6-9ab5-5dbac842bd21.gif)

#### Install:

[](#install)

```
php pagekit install nativerank/pagekit-logger   // Activate after installing in the System

```

#### Basic Usage:

[](#basic-usage)

```
// Log a simple String
$logger = App::getPagekitLogger();
$logger->log('Hello log!');

// Log an exception
$logger->log($e);

```

#### Options:

[](#options)

```
// Name
$logger = new PagekitLogger(['name' => 'MyLogger']);                // Change Logger name

// Log Level
$logger->log('Hello log!', PagekitLogger::INFO);                    // Log level INFO

// Exceptions:
$logger->log($e, PagekitLogger::CRITICAL);                          // Custom Error Level

```

#### Defaults:

[](#defaults)

```
Name:       PagekitLogger

Log Level:  ERROR

```

#### Log Levels:

[](#log-levels)

- DEBUG
- INFO
- NOTICE
- WARNING
- ERROR
- CRITICAL
- ALERT
- EMERGENCY

#### License:

[](#license)

MIT

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity70

Established project with proven stability

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

Recently: every ~13 days

Total

11

Last Release

3627d ago

Major Versions

0.3.2 → 1.0.02016-05-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/77e952d494f6ed1b6156ddc80e357e314a2c9f731acd3e5a720c8fb90bcfc8fa?d=identicon)[crwgregory](/maintainers/crwgregory)

---

Top Contributors

[![mtio](https://avatars.githubusercontent.com/u/9405969?v=4)](https://github.com/mtio "mtio (61 commits)")

### Embed Badge

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

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

###  Alternatives

[psr/log

Common interface for logging libraries

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

php dev tools in your browser

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

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

41838.2M137](/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)
