PHPackages                             danielgp/common-lib - 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. danielgp/common-lib

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

danielgp/common-lib
===================

Common functions to be used where needed

3.6.0(5mo ago)08356MITPHPPHP ^8.4 || ^8.5CI failing

Since Jan 4Pushed 5mo ago1 watchersCompare

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

READMEChangelog (2)Dependencies (7)Versions (304)Used By (6)

common-lib = Common functions to be used where needed
=====================================================

[](#common-lib--common-functions-to-be-used-where-needed)

Packagist statistics by poser.pugx.org [![Latest Stable Version](https://camo.githubusercontent.com/652f62ac2d07a650a61263c6fa17ee766bfc704668e835e32c9470f29359fcb9/68747470733a2f2f706f7365722e707567782e6f72672f64616e69656c67702f636f6d6d6f6e2d6c69622f762f737461626c65)](https://packagist.org/packages/danielgp/common-lib)[![Total Downloads](https://camo.githubusercontent.com/a5095473aaa97dd10283ac7e1f3d719143492e618260b7bfb6f1d7160a40cc42/68747470733a2f2f706f7365722e707567782e6f72672f64616e69656c67702f636f6d6d6f6e2d6c69622f646f776e6c6f616473)](https://packagist.org/packages/danielgp/common-lib)[![License](https://camo.githubusercontent.com/40e4d7d6b2bea4106a2e601413854c564b88e71c8bf915a37e147c63f524a7c1/68747470733a2f2f706f7365722e707567782e6f72672f64616e69656c67702f636f6d6d6f6e2d6c69622f6c6963656e7365)](https://packagist.org/packages/danielgp/common-lib)[![Monthly Downloads](https://camo.githubusercontent.com/b6ab6d081908ea73b7e851730b66d2d2fabb96876d02824c358663b0380eee17/68747470733a2f2f706f7365722e707567782e6f72672f64616e69656c67702f636f6d6d6f6e2d6c69622f642f6d6f6e74686c79)](https://packagist.org/packages/danielgp/common-lib)[![Daily Downloads](https://camo.githubusercontent.com/4541df34501f8c2d7bd12b5a93bf499700b1038e6d158f1191cdc731e1b7d6ff/68747470733a2f2f706f7365722e707567782e6f72672f64616e69656c67702f636f6d6d6f6e2d6c69622f642f6461696c79)](https://packagist.org/packages/danielgp/common-lib)

Code quality analysis [![SensioLabsInsight](https://camo.githubusercontent.com/31c424c5a4f37cacf4dfb8024f160d3921547a8d75442d77fb907661f5c66ed1/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f66383234633564612d646534362d343436622d393165612d3638613439336162646636612f6269672e706e67)](https://insight.sensiolabs.com/projects/f824c5da-de46-446b-91ea-68a493abdf6a)[![Codacy Badge](https://camo.githubusercontent.com/a0400ac060e0731dce00ef4382e731742bf4453ece8488045df2f7c66f0eb93b/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f67726164652f3838616537363633626235393431626461663536356639326364353262333064)](https://www.codacy.com/app/danielpopiniuc/common-lib)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d399f4b23b768e6542e466b581199e15e42830ec3ab932841a94fdceac6bf6c1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64616e69656c67702f636f6d6d6f6e2d6c69622f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/danielgp/common-lib/?branch=master)[![Build Status](https://camo.githubusercontent.com/d33ce80bb86d087ceecd80bbcb328d6f5e86a426bb368e47a2561a016904a33e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64616e69656c67702f636f6d6d6f6e2d6c69622f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/danielgp/common-lib/build-status/master)

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance70

Regular maintenance activity

Popularity14

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity100

Battle-tested with a long release history

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

Recently: every ~125 days

Total

303

Last Release

166d ago

Major Versions

1.18.9 → 2.0.02015-08-29

2.9.11 → 3.0.02016-06-20

PHP version history (10 changes)1.0.0PHP &gt;=5.4

1.16.0PHP &gt;=5.5

3.0.0PHP ^5.6 || ^7.0

3.0.5PHP ^7.0 || ^7.2

3.4.0PHP ^7.2

3.4.7PHP ^7.2 || ^7.3 || ^7.4

3.5.0PHP ^7.2 || ^7.3 || ^7.4 || ^8.0 || ^8.1

3.5.2PHP ^7.2 || ^7.3 || ^7.4 || ^8.0 || ^8.1 || ^8.2 || ^8.3

3.5.7PHP ^7.2 || ^7.3 || ^7.4 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4

3.6.0PHP ^8.4 || ^8.5

### Community

Maintainers

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

---

Top Contributors

[![danielgp](https://avatars.githubusercontent.com/u/4377685?v=4)](https://github.com/danielgp "danielgp (529 commits)")

### Embed Badge

![Health badge](/badges/danielgp-common-lib/health.svg)

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

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[illuminate/session

The Illuminate Session package.

9937.4M753](/packages/illuminate-session)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

96374.6k23](/packages/friendsoftypo3-content-blocks)

PHPackages © 2026

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