PHPackages                             meritoo/common-library - 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. meritoo/common-library

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

meritoo/common-library
======================

Useful classes, methods, extensions etc.

1.4.0(1y ago)27.5k↑180%1[3 issues](https://github.com/meritoo/common-library/issues)3MITPHPPHP ^8.2CI failing

Since Aug 29Pushed 1y ago2 watchersCompare

[ Source](https://github.com/meritoo/common-library)[ Packagist](https://packagist.org/packages/meritoo/common-library)[ RSS](/packages/meritoo-common-library/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (10)Versions (70)Used By (3)

Meritoo Common Library
======================

[](#meritoo-common-library)

Common and useful classes, methods, exceptions etc.

[![PHP from Packagist](https://camo.githubusercontent.com/311e0518bed2220739359dcde16a160a3b00b6bd0b0843d7f727d81ba0257998/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d657269746f6f2f636f6d6d6f6e2d6c6962726172792e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/311e0518bed2220739359dcde16a160a3b00b6bd0b0843d7f727d81ba0257998/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d657269746f6f2f636f6d6d6f6e2d6c6962726172792e7376673f7374796c653d666c61742d737175617265)[![Build Status](https://camo.githubusercontent.com/596b75c0f601e7e885ab6a5076b2136bf306d659d4c1b543b3ede7d872d1a0f9/68747470733a2f2f7472617669732d63692e636f6d2f6d657269746f6f2f636f6d6d6f6e2d6c6962726172792e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://travis-ci.com/meritoo/common-library)[![Packagist](https://camo.githubusercontent.com/c942e65e1b83dd6af99c92ff5d6cd2ff3f4a384ba06e98da618ca2a63da15791/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d657269746f6f2f636f6d6d6f6e2d6c6962726172792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/meritoo/common-library)[![license](https://camo.githubusercontent.com/d28c7b729500251c22b4c07cadce6719d2792eb3c478fa7d8cdb6f4825fc5de3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d657269746f6f2f636f6d6d6f6e2d6c6962726172792e7376673f7374796c653d666c61742d737175617265)](https://github.com/meritoo/common-library)[![GitHub commits](https://camo.githubusercontent.com/9a83800cf356643ae078401dad6e315aad7f2004c8de7e22c435d7bc66cc183f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d6974732d73696e63652f6d657269746f6f2f636f6d6d6f6e2d6c6962726172792f302e302e312e7376673f7374796c653d666c61742d737175617265)](https://github.com/meritoo/common-library)[![Coverage Status](https://camo.githubusercontent.com/4e74ac7dc916fd231abeb1ab01d7e990d6af2830daa80c7870f9f68ab2df2044/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d657269746f6f2f636f6d6d6f6e2d6c6962726172792f62616467652e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://coveralls.io/github/meritoo/common-library)

Installation
============

[](#installation)

Run [Composer](https://getcomposer.org) to install this package in your project:

```
composer require meritoo/common-library
```

> [How to install Composer?](https://getcomposer.org/download)

Usage
=====

[](#usage)

1. [Base test case (with common methods and data providers)](docs/Base-test-case.md)
2. [Collection of elements](docs/Collection/BaseCollection.md)
3. [Exceptions](docs/Static-methods.md)
4. [Static methods](docs/Static-methods.md)
    1. [Arrays](docs/Static-methods/Arrays.md)
    2. [Regex](docs/Static-methods/Regex.md)
    3. [Uri](docs/Static-methods/Uri.md)
5. [Value Objects](docs/Value-Objects.md)

Development
===========

[](#development)

More information [you can find here](docs/Development.md)

Enjoy!

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity90

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 99.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

Every ~54 days

Recently: every ~146 days

Total

50

Last Release

538d ago

Major Versions

0.1.8 → 1.0.12019-04-02

PHP version history (8 changes)0.0.1PHP &gt;=5.6.0

0.0.16PHP &gt;=5.5.9

0.1.0PHP &gt;=5.6

1.0.1PHP &gt;=7.2

1.0.4PHP ^7.2

1.1.8PHP ^7.4

1.2.0PHP ^8.0

1.3.1PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5606316?v=4)[Meritoo.pl](/maintainers/meritoo)[@meritoo](https://github.com/meritoo)

---

Top Contributors

[![meritoo](https://avatars.githubusercontent.com/u/5606316?v=4)](https://github.com/meritoo "meritoo (406 commits)")[![kniziol](https://avatars.githubusercontent.com/u/947620?v=4)](https://github.com/kniziol "kniziol (1 commits)")

---

Tags

php-libraryutilities

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/meritoo-common-library/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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