PHPackages                             blobfolio/blob-common - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. blobfolio/blob-common

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

blobfolio/blob-common
=====================

An expansive PHP toolkit with functions for sanitizing, formatting, parsing, etc.

8.0.0(7y ago)105.5k3WTFPLPHPPHP &gt;= 7.0CI failing

Since Jan 24Pushed 1y ago2 watchersCompare

[ Source](https://github.com/Blobfolio/blob-common)[ Packagist](https://packagist.org/packages/blobfolio/blob-common)[ Docs](https://github.com/Blobfolio/blob-common)[ RSS](/packages/blobfolio-blob-common/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (17)Used By (3)

blob-common
===========

[](#blob-common)

A PHP library with handy, reusable functions for sanitizing, formatting, and manipulating data.

For information about the plugin Tutan Common, which repackages and extends these functions for WordPress environments, click [here](https://github.com/Blobfolio/blob-common/tree/master/wp/).

[![Build Status](https://camo.githubusercontent.com/d0691b09324b4c14668941984a4718287beda3ee41ac6f36bc5ef50115d7c161/68747470733a2f2f7472617669732d63692e6f72672f426c6f62666f6c696f2f626c6f622d636f6d6d6f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Blobfolio/blob-common)

Table of Contents
-----------------

[](#table-of-contents)

1. [Requirements](#requirements)
2. [Installation](#installation)
3. [Reference](https://github.com/Blobfolio/blob-common/wiki)
4. [License](#license)

Requirements
------------

[](#requirements)

blob-common requires PHP 7.0+ with the following modules:

- BCMath or GMP
- DOM
- Fileinfo
- Filter
- JSON
- MBString
- SimpleXML

UTF-8 is used for all string encoding. This could create conflicts on environments using something else.

The [WebP](https://github.com/Blobfolio/blob-common/wiki/Images) functionality additionally requires access to server-side `cwebp` and `gif2webp` binaries. See the linked reference for more details.

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

[](#installation)

Use Composer:

```
composer require "blobfolio/blob-common:dev-master"
```

Or grab the compiled Phar and include it in your project:

```
require_once('bin/blob-common.phar');
```

Note: The Phar is gzipped so PHP needs to have gzip capabilities to be able to read it. :)

License
-------

[](#license)

Copyright © 2018 [Blobfolio, LLC](https://blobfolio.com) &lt;&gt;

This work is free. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2.

```
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004

Copyright (C) 2004 Sam Hocevar

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.

```

### Donations

[](#donations)

   [![Bitcoin QR](https://camo.githubusercontent.com/02c1aab6dc8b7908cb540a77b3df80ff1781b137aa6e4de8e795aac613ffe124/68747470733a2f2f626c6f62666f6c696f2e636f6d2f77702d636f6e74656e742f7468656d65732f62332f7376672f6274632d6769746875622e737667)](https://camo.githubusercontent.com/02c1aab6dc8b7908cb540a77b3df80ff1781b137aa6e4de8e795aac613ffe124/68747470733a2f2f626c6f62666f6c696f2e636f6d2f77702d636f6e74656e742f7468656d65732f62332f7376672f6274632d6769746875622e737667) If you have found this work useful and would like to contribute financially, Bitcoin tips are always welcome!

**1Af56Nxauv8M1ChyQxtBe1yvdp2jtaB1GF**

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

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

Recently: every ~108 days

Total

16

Last Release

2884d ago

Major Versions

7.3.1 → 8.0.02018-06-17

PHP version history (2 changes)7.1.1PHP &gt;= 7.0

7.1.7PHP &gt;= 5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/74cb6ecb5887fa7b80c3aa263b6016e403989d28e93a35420536740599d6d909?d=identicon)[joshstoik1](/maintainers/joshstoik1)

---

Top Contributors

[![joshstoik1](https://avatars.githubusercontent.com/u/403248?v=4)](https://github.com/joshstoik1 "joshstoik1 (799 commits)")

---

Tags

phpdataparsingformattingsanitizing

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/blobfolio-blob-common/health.svg)

```
[![Health](https://phpackages.com/badges/blobfolio-blob-common/health.svg)](https://phpackages.com/packages/blobfolio-blob-common)
```

###  Alternatives

[hi-folks/data-block

Data class for managing nested arrays and JSON data.

1472.2k](/packages/hi-folks-data-block)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2516.7k](/packages/iteks-laravel-enum)

PHPackages © 2026

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