PHPackages                             mosaiqo/api-consumer - 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. mosaiqo/api-consumer

ActiveLibrary[API Development](/categories/api)

mosaiqo/api-consumer
====================

062PHP

Since Feb 16Pushed 8y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Mosaiqo Api Consumer
====================

[](#mosaiqo-api-consumer)

Enable Hexagonal architecture for Laravel

Installation
------------

[](#installation)

```
	composer require mosaiqo/hexagonal 0.1.*
```

Add the following provider to your `config/app.php` in the `providers` array.

```
'providers' => [
    ...

    /**
     * Package Service Providers...
     */
    Mosaiqo\Hexagonal\Providers\LaravelServiceProvider::class,

    ...
];
```

In each package you should create a `routes` and a `lang` folder, like this: The translation files are optional, but the routes are necessary if you are going to extend the `Mosaiqo\Hexagonal\Providers\RouteServiceProvider`.

Of course you can override the `RouteServiceProvider` and therefore change the behavior.

```
- routes
-- web.php
-- api.php
- lang
-- en
--- .php
-- es
--- .php

```

TODO
----

[](#todo)

- UnitTests

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

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/9202a8ae09a16eb6ae0dfe6c478ff60f78db67efc85ee380eefa63b593e5a9b6?d=identicon)[mosaiqo](/maintainers/mosaiqo)

---

Top Contributors

[![boudydegeer](https://avatars.githubusercontent.com/u/753439?v=4)](https://github.com/boudydegeer "boudydegeer (1 commits)")

### Embed Badge

![Health badge](/badges/mosaiqo-api-consumer/health.svg)

```
[![Health](https://phpackages.com/badges/mosaiqo-api-consumer/health.svg)](https://phpackages.com/packages/mosaiqo-api-consumer)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M478](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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