PHPackages                             ceedcv-maya/shared-platform-laravel - 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. ceedcv-maya/shared-platform-laravel

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

ceedcv-maya/shared-platform-laravel
===================================

Cross-cutting platform utilities for Laravel microservices: PostgreSQL FDW migrations helpers, locale providers, shared contracts.

v0.21.0(1mo ago)0911↓49.5%MITPHPPHP ^8.4

Since May 25Pushed 1mo agoCompare

[ Source](https://github.com/Maya-AQSS/shared-platform-laravel)[ Packagist](https://packagist.org/packages/ceedcv-maya/shared-platform-laravel)[ Docs](https://github.com/Maya-AQSS/shared-platform-laravel)[ RSS](/packages/ceedcv-maya-shared-platform-laravel/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (15)Versions (29)Used By (0)

ceedcv-maya/shared-platform-laravel
===================================

[](#ceedcv-mayashared-platform-laravel)

Cross-cutting platform utilities for Laravel microservices: PostgreSQL FDW migrations helpers, locale providers, shared contracts.

Part of the [ceedcv-maya/maya\_platform](https://github.com/Maya-AQSS/maya_platform) mono-repo. Distributed independently for reuse outside the Maya ecosystem.

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

[](#installation)

```
composer require ceedcv-maya/shared-platform-laravel
```

Provides PostgreSQL FDW migration helpers and locale resolution traits used across Laravel microservices.

AbstractFdwRepository
---------------------

[](#abstractfdwrepository)

Base class for repositories that provide read-only access to PostgreSQL Foreign Data Wrapper tables. Extend it and implement `modelClass()` to get `findById`, `findByIdOrFail`, `exists`, `pluckForFilter`, and `all` for free.

```
class StudyTypeRepository extends AbstractFdwRepository
{
    protected function modelClass(): string
    {
        return StudyType::class;
    }
}
```

### Excepciones documentadas

[](#excepciones-documentadas)

The following code sites are **exempt** from the mandatory repository-layer rule and may access Eloquent/DB directly:

- `AppServiceProvider::boot()` — guard/driver registration (`Auth::viaRequest`, `Auth::extend`) must run in boot, before the repository layer is available.
- Keycloak / JWT user resolver closures — resolved during the authentication bootstrap, before the HTTP kernel dispatches to a controller.
- Database connection bootstrap — `database.php` config and initial connection establishment happen before the service container is fully wired.

These exemptions are architectural and intentional; do not expand them without an explicit ADR.

TypeScript / build notes
------------------------

[](#typescript--build-notes)

PSR-4 autoload from `src/`. Service providers are registered via Laravel package discovery (no manual provider registration needed).

License
-------

[](#license)

MIT — see [LICENSE](LICENSE).

Reporting issues
----------------

[](#reporting-issues)

The canonical source lives in [Maya-AQSS/maya\_platform](https://github.com/Maya-AQSS/maya_platform). File issues there; this read-only split repo is only the published artifact.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance91

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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 ~1 days

Total

28

Last Release

40d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2ee6f9d4827e5bc99f207850bcdf2697b65c01719e66fa4ea66d443046cbbb3e?d=identicon)[GGEdu](/maintainers/GGEdu)

---

Tags

laravelpostgresMayaplatformmicroservicesceedcvfdw

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/ceedcv-maya-shared-platform-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/ceedcv-maya-shared-platform-laravel/health.svg)](https://phpackages.com/packages/ceedcv-maya-shared-platform-laravel)
```

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M133](/packages/roots-acorn)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M136](/packages/laravel-pulse)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M246](/packages/laravel-ai)[flarum/core

Delightfully simple forum software.

211.4M2.4k](/packages/flarum-core)

PHPackages © 2026

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