PHPackages                             phpe/clog - 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. phpe/clog

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

phpe/clog
=========

Class for logging loading performance

v1.0(11y ago)013MITHTMLPHP &gt;=5.3

Since Feb 16Pushed 11y ago1 watchersCompare

[ Source](https://github.com/phphille/CLog)[ Packagist](https://packagist.org/packages/phpe/clog)[ RSS](/packages/phpe-clog/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

CLog
====

[](#clog)

About
-----

[](#about)

A class for logging and debugging the loading time

```
PHP 5 >= 5.3.0

```

Introduction
------------

[](#introduction)

Instantiate an object of CLog like $clog = new \\phpe\\log\\CLog();

Then you write $clog-&gt;Timestamp(**CLASS**, **METHOD**, 'A description'); where you want to start the logging and continue to deploy several other $clog-&gt;Timestamp(**CLASS**, **METHOD**, 'Another description'); in different places.

When you have deployed your timestamps you can print out the result with $clog-&gt;TimestampAsTable();

Using anax-mvc
==============

[](#using-anax-mvc)

Make it apart of $Di like:

$di-&gt;setShared('clog', function() { $clog = new \\phpe\\log\\CLog(); $clog-&gt;Timestamp(**CLASS**, **METHOD**, 'a comment'); return $clog; });

Then can you, depenending where in the code you want to reach CLog, reach the class whit either $app or $di; $app-&gt;clog-&gt;Timestamp(**CLASS**, **METHOD**, 'a comment'); or $this-&gt;di-&gt;clog-&gt;Timestamp(**CLASS**, **METHOD**, 'a comment');

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f8dd7efce865fae1f20c2f45af5a244451f201f2facbfef19b062651c7c30126/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70687068696c6c652f434c6f672f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/phphille/CLog/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/f772e499a974a285f4a44d1dfd68470fab15b86c61577cdfbc116402a0a444ca/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70687068696c6c652f434c6f672f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/phphille/CLog/?branch=master)[![Build Status](https://camo.githubusercontent.com/c0d422d1e8836c682e7aabc79ef473b950062f26324defaaf63b1b00332ab203/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70687068696c6c652f434c6f672f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/phphille/CLog/build-status/master)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.7% 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

4109d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9724e1db2a2d46f13fa336b6510f7ee82bd7c4475b2d4096ca9426bd28439ac3?d=identicon)[phphille](/maintainers/phphille)

---

Top Contributors

[![phi-per](https://avatars.githubusercontent.com/u/201925622?v=4)](https://github.com/phi-per "phi-per (8 commits)")[![phphille](https://avatars.githubusercontent.com/u/10531841?v=4)](https://github.com/phphille "phphille (3 commits)")

---

Tags

htmleducationForms

### Embed Badge

![Health badge](/badges/phpe-clog/health.svg)

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

###  Alternatives

[gregwar/formidable

Formidable, the pragmatic forms library

12062.2k1](/packages/gregwar-formidable)

PHPackages © 2026

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