PHPackages                             wedesignit/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. [API Development](/categories/api)
4. /
5. wedesignit/common

ActiveLibrary[API Development](/categories/api)

wedesignit/common
=================

Reusable PSR-compatible API client framework with middleware and token authentication

v1.0.3(7mo ago)028MITPHPPHP ^8.2 || ^8.3 || ^8.4CI passing

Since Jun 6Pushed 7mo agoCompare

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

READMEChangelog (4)Dependencies (13)Versions (6)Used By (0)

Common
======

[](#common)

[![Latest Version on Packagist](https://camo.githubusercontent.com/838239591c2b3a1fb17acbaaf8c6e0b534845af45df34ee584c1f6f02ea982b3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f576544657369676e49742f436f6d6d6f6e3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wedesignit/common)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](license.md)[![Build Status](https://camo.githubusercontent.com/1cb3bf72bfedaad03d4fb403c85510f8de8e190148124225031b1e1cf92d4584/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f776564657369676e69742f636f6d6d6f6e2f63692e796d6c3f6c6162656c3d7465737473266272616e63683d6d61696e267374796c653d666c61742d737175617265)](https://github.com/wedesignit/common/actions/workflows/ci.yml)[![Total Downloads](https://camo.githubusercontent.com/23690212040abfad5671fd774f4a403052f3d73e386b7c0afd69481094029e68/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776564657369676e69742f636f6d6d6f6e3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wedesignit/common)

Some common code which can be used by other packages. For now it is limited to a PSR-18 compliant HTTP client with a middleware stack, and some traits for common API client functionality.

Used standards:

- PSR-7: request-object (universal request-object)
- PSR-15: middleware stack (universal middleware stack)
- PSR-16: cache interface (universal cache interface)
- PSR-17: request-factory (universal request-object)
- PSR-18: client interface as typehint (not hardcoding Guzzle)

For more detailed docs, see the [docs folder](docs/index.md).

Installing
----------

[](#installing)

Via Composer

```
composer require wedesignit/common
```

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Patrick van Kouteren](https://github.com/pvankouteren)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](license.md) for more information.

About WeDesignIt
----------------

[](#about-wedesignit)

[WeDesignIt](https://www.wedesignit.nl) is a web agency from Oude-Tonge (reserve-Zeeland), the Netherlands specialized in custom web applications, API development, and integrations.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance62

Regular maintenance activity

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Every ~37 days

Total

4

Last Release

234d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ae5357d893c402ae052f7e1705f6071de01dfa303800e6f9ba3ef27188fbea8?d=identicon)[pvankouteren](/maintainers/pvankouteren)

---

Top Contributors

[![pvankouteren](https://avatars.githubusercontent.com/u/1055598?v=4)](https://github.com/pvankouteren "pvankouteren (21 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69433.0M114](/packages/algolia-algoliasearch-client-php)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[commercetools/commercetools-sdk

The official PHP SDK for the commercetools Composable Commerce APIs

19281.5k](/packages/commercetools-commercetools-sdk)[wordpress/php-ai-client

A provider agnostic PHP AI client SDK to communicate with any generative AI models of various capabilities using a uniform API.

26236.6k14](/packages/wordpress-php-ai-client)

PHPackages © 2026

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