PHPackages                             gsdev/fabric - 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. gsdev/fabric

AbandonedArchivedLibrary[API Development](/categories/api)

gsdev/fabric
============

Fabric is a set of interfaces, traits and simple classes to help structure libraries and code that interact with APIs.

1191PHP

Since Jun 7Pushed 6y ago1 watchersCompare

[ Source](https://github.com/gsdevme/Fabric)[ Packagist](https://packagist.org/packages/gsdev/fabric)[ RSS](/packages/gsdev-fabric/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Fabric (WIP)
============

[](#fabric-wip)

[![Build Status](https://camo.githubusercontent.com/6a3ecdc9f921415e8d0d169934f1d7c92fdfc60c3a40a1d1162b3936105b3323/68747470733a2f2f7472617669732d63692e6f72672f67736465766d652f4661627269632e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gsdevme/Fabric)[![Coverage Status](https://camo.githubusercontent.com/fe3f2e34dfcd4a9812db9368e75451d1d9f5edaf5235dc3e1030fd3320a93edc/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f67736465766d652f4661627269632f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/gsdevme/Fabric?branch=master)

[![SensioLabsInsight](https://camo.githubusercontent.com/a0f5cb1c6d8dd022623d389138f379d49c1ea27b6c6792779c72f20af87164ba/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f63393934343061612d363637332d343837302d386235362d3463333962643731333636642f6269672e706e67)](https://insight.sensiolabs.com/projects/c99440aa-6673-4870-8b56-4c39bd71366d)

Fabric is a set of interfaces, traits and simple classes to help structure libraries and code that interact with APIs.

Concept / Api
-------------

[](#concept--api)

In the following example we are getting the git repositories for a user.

```
$response = (new Client())->send(new GetRepositoriesForUser($userId));

```

### Features

[](#features)

1. PSR-7 Friendly (Guzzle Implementation (guzzlehttp/psr7)
2. Default Client (via guzzlehttp/guzzle)

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![gsdevme](https://avatars.githubusercontent.com/u/319498?v=4)](https://github.com/gsdevme "gsdevme (45 commits)")

### Embed Badge

![Health badge](/badges/gsdev-fabric/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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