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

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

assegaiphp/common
=================

The assegai/common package is a collection of commonly used utility classes and functions for AssegaiPHP projects. This package provides a set of tools that are designed to make it easier for developers to perform common tasks such as working with arrays, strings, and paths. The package also includes classes for handling errors and logging, as well as a simple yet powerful configuration management system. The package is designed to be lightweight, with minimal dependencies, and is fully compatible with any AssegaiPHP based project. Whether you're building a small web application or a large enterprise system, assegai/common provides the essential building blocks you need to get started quickly and easily.

0.4.5(9mo ago)178↑50%4MITPHPPHP &gt;=8.3

Since Jan 25Pushed 9mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (5)Versions (12)Used By (4)

 [![Assegai Logo](https://camo.githubusercontent.com/d7dab2658d76e460e31be249de2fe5d420f7a7237eb9f2a315f83123632a3b6c/68747470733a2f2f617373656761697068702e636f6d2f696d616765732f6c6f676f732f6c6f676f2d63726f707065642e706e67)](https://assegaiphp.com/)

A progressive [PHP](https://php.net) framework for building effecient and scalable server-side applications.

AssegaiPHP Common Library
=========================

[](#assegaiphp-common-library)

Welcome to the AssegaiPHP common library! This package provides a set of common classes and utilities that can be used in any AssegaiPHP project.

The package includes the following features:

- HttpClient class: A simple and flexible class for performing HTTP requests. It supports `GET`, `POST`, `PUT`, `DELETE` and other request methods, and can also handle request headers and parameters.
- Utility classes: A collection of classes for common tasks such as logging, path manipulation, and more.

All classes are designed to be injectable and can be easily integrated into any AssegaiPHP application.

To install the package, simply require it in your composer.json file:

```
composer require assegaiphp/common
```

You can then use the classes in your application by importing the namespace:

```
use Assegai\Common\Http\HttpClient;
```

You can also use the `#[Injectable]` attribute to easily inject the HttpClient class into your controllers and services.

We hope you find the AssegaiPHP common library useful in your projects! If you have any questions or feedback, please open an issue on the [GitHub](https://github.com/assegaiphp/common) repository.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance55

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 67.9% 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 ~100 days

Recently: every ~0 days

Total

10

Last Release

298d ago

### Community

Maintainers

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

---

Top Contributors

[![amasiye](https://avatars.githubusercontent.com/u/5607605?v=4)](https://github.com/amasiye "amasiye (19 commits)")[![amasiyelr](https://avatars.githubusercontent.com/u/141437318?v=4)](https://github.com/amasiyelr "amasiyelr (9 commits)")

###  Code Quality

TestsPest

### Embed Badge

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

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

###  Alternatives

[phpro/soap-client

A general purpose SoapClient library

8885.6M46](/packages/phpro-soap-client)[civicrm/civicrm-core

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

728272.9k17](/packages/civicrm-civicrm-core)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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