PHPackages                             byjg/gluo-core - 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. byjg/gluo-core

ActiveLibrary

byjg/gluo-core
==============

Gluo framework core — the glue that binds byjg components into a REST architecture: base classes, attributes, utilities, and builder tools. Start a project with `composer create-project byjg/gluo`.

7.0.x-dev(2w ago)0161↓75%[1 PRs](https://github.com/byjg/php-gluo-core/pulls)MITPHPPHP &gt;=8.3 &lt;8.6CI passing

Since Aug 11Pushed 1w agoCompare

[ Source](https://github.com/byjg/php-gluo-core)[ Packagist](https://packagist.org/packages/byjg/gluo-core)[ RSS](/packages/byjg-gluo-core/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (14)Versions (2)Used By (0)

Gluo Core
=========

[](#gluo-core)

[![Build Status](https://github.com/byjg/php-gluo-core/actions/workflows/phpunit.yml/badge.svg?branch=master)](https://github.com/byjg/php-gluo-core/actions/workflows/phpunit.yml)[![Opensource ByJG](https://camo.githubusercontent.com/425c1bbccc0f292bf4d20569ae74a6b2e384fd648f1af8911bc61de9a8dcfc0b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f70656e736f757263652d62796a672d737563636573732e737667)](http://opensource.byjg.com)[![GitHub source](https://camo.githubusercontent.com/88e61eb211719144efdd570290a0456b6e13099c2df8d973f1bb43fe33bf0039/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4769746875622d736f757263652d696e666f726d6174696f6e616c3f6c6f676f3d676974687562)](https://github.com/byjg/php-gluo-core/)[![GitHub license](https://camo.githubusercontent.com/fe7803e79c2652dab55f8aba254dbcb90ab012fe1a8f4f29e6337efd3a38ad53/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f62796a672f7068702d676c756f2d636f72652e737667)](https://opensource.byjg.com/opensource/licensing.html)[![GitHub release](https://camo.githubusercontent.com/212961b3e8b0595d914d4801a9d6517f371d1ef337e66b19e6395b8372add073/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f62796a672f7068702d676c756f2d636f72652e737667)](https://github.com/byjg/php-gluo-core/releases/)

The Gluo framework core — the glue ("gluo" is Esperanto for glue) that binds the [byjg components](https://opensource.byjg.com) into a REST architecture.

You normally don't install this package directly. Start a project with the [byjg/gluo](https://github.com/byjg/php-gluo) starter instead:

```
composer create-project byjg/gluo my-api
```

The starter generates a project you fully own; `byjg/gluo-core` stays in `vendor/`and framework improvements arrive with a plain `composer update`.

What's inside
-------------

[](#whats-inside)

- **Base classes** — `BaseLoginController`, `BaseRepository`, `BaseService`, `BaseUser`, `BaseUserProperties`, `BaseConfigBootstrap`
- **Attributes** — `RequireAuthenticated`, `RequireRole`, `ValidateRequest`
- **Utilities** — `JwtContext`, `OpenApiContext`, `FakeApiRequester`
- **Builder** — database migration entry points, OpenAPI generation, and the code generator (`composer codegen`) with its Jinja templates
- **Test harness** — `BaseApiTestCase` for contract-testing your REST endpoints against the OpenAPI definition
- **Traits** — `OaCreatedAt`, `OaUpdatedAt`, `OaDeletedAt`

Install
-------

[](#install)

```
composer require byjg/gluo-core
```

Documentation
-------------

[](#documentation)

The full documentation (getting started, guides, and reference) lives in the [byjg/gluo](https://github.com/byjg/php-gluo) starter repository.

Running the tests
-----------------

[](#running-the-tests)

```
composer install
vendor/bin/phpunit
```

---

[Open source ByJG](http://opensource.byjg.com)

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance97

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

20d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/981924?v=4)[Joao Gilberto Magalhaes](/maintainers/byjg)[@byjg](https://github.com/byjg)

---

Top Contributors

[![byjg](https://avatars.githubusercontent.com/u/981924?v=4)](https://github.com/byjg "byjg (17 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/byjg-gluo-core/health.svg)

```
[![Health](https://phpackages.com/badges/byjg-gluo-core/health.svg)](https://phpackages.com/packages/byjg-gluo-core)
```

###  Alternatives

[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.4k69.9M288](/packages/nelmio-api-doc-bundle)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

3.0k40.1M153](/packages/darkaonline-l5-swagger)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

605.9M717](/packages/shopware-core)[oro/platform

Business Application Platform (BAP)

646149.4k124](/packages/oro-platform)[pimcore/studio-backend-bundle

Pimcore Studio Backend Bundle

20296.1k33](/packages/pimcore-studio-backend-bundle)

PHPackages © 2026

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