PHPackages                             travail/log-minimal - 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. travail/log-minimal

ActiveLibrary

travail/log-minimal
===================

travail/log-minimal

v0.1.0(12y ago)2168.6k↓100%11PHP-3.0PHP

Since May 1Pushed 11y ago1 watchersCompare

[ Source](https://github.com/travail/php-Log-Minimal)[ Packagist](https://packagist.org/packages/travail/log-minimal)[ RSS](/packages/travail-log-minimal/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

\\Log\\Minimal
==============

[](#logminimal)

NAME
----

[](#name)

\\Log\\Minimal - Minimal but customizable logger.

SYNOPSIS
--------

[](#synopsis)

```
use \Log\Minimal;

require_once '/path/to/vendor/autoload.php';

Minimal::critf('%s', 'foo'); // 2014-01-28T17:24:34 [CRITICAL] foo at example.php line 12
Minimal::warnf('%d %s %s', 1, 'foo', $uri);
Minimal::infof('foo');
Minimal::debugf('foo') // Print if \Log\Minimal::$debug is true
```

INSTALLATION
------------

[](#installation)

To install this package into your project via composer, add the following snippet to your `composer.json`. Then run `composer install`.

```
"require": {
    "travail/log-minimal": "dev-master"
}

```

If you want to install from github, add the following:

```
"repositories": [
    {
        "type": "vcs",
        "url": "git@github.com:travail/php-Log-Minimal.git"
    }
]

```

DEPENDENCIES
------------

[](#dependencies)

\\Log\\Minimal has the dependency on the following:

- [\\Term\\ANSIColor](https://github.com/travail/php-Term-ANSIColor)

METHODS
-------

[](#methods)

### debugf

[](#debugf)

`void debugf(string $formatd [, mixed $args [, mixed $...]])`

### infof

[](#infof)

`void debugf(string $formatd [, mixed $args [, mixed $...]])`

### warnf

[](#warnf)

`void debugf(string $formatd [, mixed $args [, mixed $...]])`

### critf

[](#critf)

`void debugf(string $formatd [, mixed $args [, mixed $...]])`

#### Parameters

[](#parameters)

The same as the built-in function `sprintf`.

ENVIRONMENT VALUES
------------------

[](#environment-values)

### $\_ENV\['LM\_COLOR'\]

[](#_envlm_color)

### $\_ENV\['LM\_DEBUG'\]

[](#_envlm_debug)

### $\_ENV\['LM\_LOG\_DEVEL'\]

[](#_envlm_log_devel)

CUSTOMIZE
---------

[](#customize)

### \\Log\\Minimal::$color

[](#logminimalcolor)

### \\Log\\Minimal::$debug

[](#logminimaldebug)

### \\Log\\Minimal::$log\_level

[](#logminimallog_level)

### \\Log\\Minimal::$print

[](#logminimalprint)

### \\Log\\Minimal::$trace\_level

[](#logminimaltrace_level)

AUTHOR
------

[](#author)

travail

THANKS TO
---------

[](#thanks-to)

Masahiro Nagano &lt;kazeburo {at} gmail.com}&gt;

SEE ALSO
--------

[](#see-also)

[Log::Minimal](https://metacpan.org/pod/Log::Minimal)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

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

4392d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eababa87de505ba8eceaeee0a6ae217add7d71a3cb3a3723a198106282747119?d=identicon)[travail](/maintainers/travail)

---

Top Contributors

[![travail](https://avatars.githubusercontent.com/u/52314?v=4)](https://github.com/travail "travail (23 commits)")[![tisogawa](https://avatars.githubusercontent.com/u/145603?v=4)](https://github.com/tisogawa "tisogawa (1 commits)")

### Embed Badge

![Health badge](/badges/travail-log-minimal/health.svg)

```
[![Health](https://phpackages.com/badges/travail-log-minimal/health.svg)](https://phpackages.com/packages/travail-log-minimal)
```

PHPackages © 2026

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