PHPackages                             scabbiafw/scabbia2-formatters - 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. scabbiafw/scabbia2-formatters

Abandoned → [eserozvataf/scabbia2-formatters](/?search=eserozvataf%2Fscabbia2-formatters)ArchivedLibrary

scabbiafw/scabbia2-formatters
=============================

Scabbia2 Formatters Component

v0.1.1(10y ago)24023Apache-2.0PHPPHP &gt;=5.6.0

Since Sep 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/eserozvataf/scabbia2-formatters)[ Packagist](https://packagist.org/packages/scabbiafw/scabbia2-formatters)[ Docs](http://www.scabbiafw.com/)[ RSS](/packages/scabbiafw-scabbia2-formatters/feed)WikiDiscussions master Synced 1mo ago

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

Scabbia2 Formatters Component
=============================

[](#scabbia2-formatters-component)

[This component](https://github.com/eserozvataf/scabbia2-formatters) is a simple abstraction layer which helps scabbia2 to generate output in various formats such as Html, Console and etc. New formatters can be derived by implementing `Scabbia\Formatters\FormatterInterface` interface.

[![Build Status](https://camo.githubusercontent.com/a29f40e670f329f51d1cf6d9bcf1bb32f2e8a954e56dd50742ef6bc09b017c96/68747470733a2f2f7472617669732d63692e6f72672f657365726f7a76617461662f73636162626961322d666f726d6174746572732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/eserozvataf/scabbia2-formatters)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/293c945ad74522dede77fbc76158282a9f1633cc7ead994d0c21fc11a28d39ff/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f657365726f7a76617461662f73636162626961322d666f726d6174746572732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/eserozvataf/scabbia2-formatters/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/0c8ffc0b2b315b55c02348c624391bac96ec8ab2bac4054bed459f4d72895794/68747470733a2f2f706f7365722e707567782e6f72672f657365726f7a76617461662f73636162626961322d666f726d6174746572732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/eserozvataf/scabbia2-formatters)[![Latest Stable Version](https://camo.githubusercontent.com/dcfada49f13b1ca2ae89d81813bcd8cc64829c371f8ed1ea117ff98d113df8b5/68747470733a2f2f706f7365722e707567782e6f72672f657365726f7a76617461662f73636162626961322d666f726d6174746572732f762f737461626c65)](https://packagist.org/packages/eserozvataf/scabbia2-formatters)[![Latest Unstable Version](https://camo.githubusercontent.com/c745948df317b777ae349ca7130695f47ad7b4b61ce450fcd416492ec6f929a2/68747470733a2f2f706f7365722e707567782e6f72672f657365726f7a76617461662f73636162626961322d666f726d6174746572732f762f756e737461626c65)](https://packagist.org/packages/eserozvataf/scabbia2-formatters)[![Documentation Status](https://camo.githubusercontent.com/1ebeb3aa2c5cce31b6bf29a03a59cd40727e8fe235ba9ca28824ef1330a81328/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f73636162626961322d646f63756d656e746174696f6e2f62616467652f3f76657273696f6e3d6c6174657374)](https://readthedocs.org/projects/scabbia2-documentation)

Usage
-----

[](#usage)

### Formatters

[](#formatters)

```
use Scabbia\Formatters\ConsoleFormatter;
use Scabbia\Formatters\HtmlFormatter;

if (PHP_SAPI === "cli") {
    $formatter = new ConsoleFormatter();
} else {
    $formatter = new HtmlFormatter();
}

$formatter->writeHeader(2, 'Heading');
$formatter->writeColor('red', 'important text');
$formatter->write('normal text');
$formatter->writeArray(['array', 'output']);
```

### Auto-selecting Formatter

[](#auto-selecting-formatter)

```
use Scabbia\Formatters\Formatters;

$formatter = Formatters::getCurrent();

$formatter->write('an adaptive output');
```

Links
-----

[](#links)

- [List of All Scabbia2 Components](https://github.com/eserozvataf/scabbia2)
- [Documentation](https://readthedocs.org/projects/scabbia2-documentation)
- [Twitter](https://twitter.com/eserozvataf)
- [Contributor List](contributors.md)
- [License Information](LICENSE)

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

[](#contributing)

It is publicly open for any contribution. Bugfixes, new features and extra modules are welcome. All contributions should be filed on the [eserozvataf/scabbia2-formatters](https://github.com/eserozvataf/scabbia2-formatters) repository.

- To contribute to code: Fork the repo, push your changes to your fork, and submit a pull request.
- To report a bug: If something does not work, please report it using GitHub issues.
- To support: [![Donate](https://camo.githubusercontent.com/630a83896c8ab4a5af0f79046098e3d8713112304fd119d86fa5957a0ecc5159/68747470733a2f2f696d672e736869656c64732e696f2f67726174697061792f657365726f7a76617461662e737667)](https://gratipay.com/eserozvataf/)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity48

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

3892d ago

### Community

Maintainers

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

---

Top Contributors

[![eser](https://avatars.githubusercontent.com/u/866558?v=4)](https://github.com/eser "eser (10 commits)")

---

Tags

formattersscabbialarukediscabbia2scabbiafw

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/scabbiafw-scabbia2-formatters/health.svg)

```
[![Health](https://phpackages.com/badges/scabbiafw-scabbia2-formatters/health.svg)](https://phpackages.com/packages/scabbiafw-scabbia2-formatters)
```

###  Alternatives

[data-values/geo

Geographical value objects, parsers and formatters

20631.0k18](/packages/data-values-geo)

PHPackages © 2026

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