PHPackages                             guilhermegeek/communia - 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. guilhermegeek/communia

ActiveLibrary

guilhermegeek/communia
======================

v0.2.x-dev(9y ago)0261Hack

Since May 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/guilhermegeek/communia)[ Packagist](https://packagist.org/packages/guilhermegeek/communia)[ RSS](/packages/guilhermegeek-communia/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (1)

Communia
========

[](#communia)

DON'T USE THIS - NOT READ YET!

A common library i created from [pi-framework](https://github.com/guilhermegeek/pi-framework) and i reused in others projects.

A set of tools and common implementations/interfaces i use as well.

Http Request
------------

[](#http-request)

[HttpRequest](src/Pi/Common/Http/HttpRequest.php) is a utility object to execute HTTP requests supporting features like headers, cookies and authentication.

Responses are returned as [HttpMessage](src/Pi/Common/Http/HttpMessage.php)

Container
---------

[](#container)

My implementation for a IOC is horrible and temporary. I've wrote a custom one because i want direct implementation with cache mechanism and others providers like [AbstractMetadataFactory](src/Pi/Common/Mapping/AbstractMetadataFactory.php) and [AbstractHydratorFactory](src/Pi/Common/Mapping/AbstractHydratorFactory.php).

Cache Provider
--------------

[](#cache-provider)

The Cache Providers implements the [ICacheProvider](src/Pi-Interfaces/ICacheProvider.php) interface:

```
public function get($key = null) : ?mixed;
public function set($key, $value) : void;
public function getArray(string $key) : ?array;
public function push(string $key, string $value) : void;
public function pushObject(string $key, mixed $obj) : void;
public function getAs(string $key, string $className) : ?mixed;
public function getMap(string $key) : ?Map;
public function pushMap(string $key, string $mapKey, string $mapValue) : void;
public function contains($key) : bool;
```

Available Cache Providers

- APC
- Redis (not finished yet)
- Memcached (not testes yet)

Log
---

[](#log)

The Log Providers implements the [ILogFactory](src/Pi-Interfaces/ILogFactory.php) interface. Each factory is responsible for returning a [ILog](src/Pi-Interfaces/ILog.php) instance (available for specific types) implementing:

```
public function debug(string $message);
public function error($message);
public function fatal($message);
public function info($message);
public function warn($message);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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

3635d ago

### Community

Maintainers

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

---

Top Contributors

[![gui-com-pt](https://avatars.githubusercontent.com/u/303894?v=4)](https://github.com/gui-com-pt "gui-com-pt (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/guilhermegeek-communia/health.svg)

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

PHPackages © 2026

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