PHPackages                             phpugph/components - 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. phpugph/components

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

phpugph/components
==================

Common PHP8.2 Patterns and Constructs

1.0.8(2y ago)12.7k3MITPHPPHP &gt;=8.2

Since Mar 28Pushed 2y agoCompare

[ Source](https://github.com/phpugph/components)[ Packagist](https://packagist.org/packages/phpugph/components)[ RSS](/packages/phpugph-components/feed)WikiDiscussions main Synced yesterday

READMEChangelog (9)Dependencies (3)Versions (11)Used By (3)

Common PHP8 Patterns and Constructs
===================================

[](#common-php8-patterns-and-constructs)

[![Build Status](https://camo.githubusercontent.com/e4de4b952016ca60f4a8cb2324be68327f9fac8779fe5732883a13ec55b276d1/68747470733a2f2f7472617669732d63692e636f6d2f706870756770682f636f6d706f6e656e74732e7376673f6272616e63683d6d61696e)](https://travis-ci.com/phpugph/components)[![Coverage Status](https://camo.githubusercontent.com/7f8fbae70fe2cec271b3e572a1bd734f7f3556a7e7b0e2e6fd9d9f10fe3a07f7/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f706870756770682f636f6d706f6e656e74732f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/phpugph/components?branch=main)[![Latest Stable Version](https://camo.githubusercontent.com/06472ffcc2134c9fcb0526fa15fa5fa89656641ad2674826100358e7dee8dc23/68747470733a2f2f706f7365722e707567782e6f72672f706870756770682f636f6d706f6e656e74732f762f737461626c65)](https://packagist.org/packages/phpugph/components)[![Total Downloads](https://camo.githubusercontent.com/53118f33332c12f63a05e10c0a119b1523d43757e15231d7e06d1fc122df3f45/68747470733a2f2f706f7365722e707567782e6f72672f706870756770682f636f6d706f6e656e74732f646f776e6c6f616473)](https://packagist.org/packages/phpugph/components)[![Latest Unstable Version](https://camo.githubusercontent.com/ed1c98b4c2b62ed5d65cd1ca1328175446a1281a06abe43e9637820b376b6a85/68747470733a2f2f706f7365722e707567782e6f72672f706870756770682f636f6d706f6e656e74732f762f756e737461626c65)](https://packagist.org/packages/phpugph/components)[![License](https://camo.githubusercontent.com/dcc5822290cf205a79e0ce47efc198cfe6b3e1138a959dd52a54b534cf6d1f91/68747470733a2f2f706f7365722e707567782e6f72672f706870756770682f636f6d706f6e656e74732f6c6963656e7365)](https://packagist.org/packages/phpugph/components)

Install
-------

[](#install)

```
composer install phpugph/components
```

Components
----------

[](#components)

- Curl - cURL wrapper class that helps making cUrl calls easier
- [Data](./docs/data.md) - Manages data structs of all kinds. Models, Collections and Registry objects are covered here
- [Event](./docs/event.md) - Similar to JavaScript Events. Covers basic and wildcard events.
- [Helper](./docs/helper.md) - Miscellaneous traits used to add class features
- Http - Deals with Routers, Request, Response and Middleware
- i18n - Covers Language translations and timezone conversions
- Image - Dynamic Image processor
- [Profiler](./docs/profiler.md) - Assists with troubleshooting code
- [Resolver](./docs/resolver.md) - IoC to manage dependency injections

---

Contributing
============

[](#contributing)

Please be aware that master branch contains all edge releases of the current version. Please check the version you are working with and find the corresponding branch. For example `v1.1.1` can be in the `1.1` branch.

Bug fixes will be reviewed as soon as possible. Minor features will also be considered, but give me time to review it and get back to you. Major features will **only** be considered on the `master` branch.

1. Fork the Repository.
2. Fire up your local terminal and switch to the version you would like to contribute to.
3. Make your changes.
4. Always make sure to sign-off (-s) on all commits made (git commit -s -m "Commit message")

Making pull requests
--------------------

[](#making-pull-requests)

1. Please ensure to run [phpunit](https://phpunit.de/) and [phpcs](https://github.com/squizlabs/PHP_CodeSniffer) before making a pull request.
2. Push your code to your remote forked version.
3. Go back to your forked version on GitHub and submit a pull request.
4. All pull requests will be passed to [Travis CI](https://travis-ci.com/github/phpugph/components) to be tested. Also note that [Coveralls](https://coveralls.io/github/phpugph/components) is also used to analyze the coverage of your contribution.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity72

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

Recently: every ~110 days

Total

10

Last Release

1031d ago

PHP version history (3 changes)1.0.0PHP &gt;=8.0

1.0.5PHP &gt;=8.1

1.0.8PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/120378?v=4)[Christian Blanquera](/maintainers/cblanquera)[@cblanquera](https://github.com/cblanquera)

---

Top Contributors

[![cblanquera](https://avatars.githubusercontent.com/u/120378?v=4)](https://github.com/cblanquera "cblanquera (18 commits)")

---

Tags

libraryphp82

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/phpugph-components/health.svg)

```
[![Health](https://phpackages.com/badges/phpugph-components/health.svg)](https://phpackages.com/packages/phpugph-components)
```

###  Alternatives

[league/iso3166

ISO 3166-1 PHP Library

69938.4M141](/packages/league-iso3166)[dekor/php-array-table

PHP Library for printing associative arrays as text table (similar to mysql terminal console)

347.8M3](/packages/dekor-php-array-table)

PHPackages © 2026

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