PHPackages                             ognestraz/odata-lumen - 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. ognestraz/odata-lumen

ActiveLibrary

ognestraz/odata-lumen
=====================

Expose Odata services from lumen framework

v0.2.4(9y ago)07MITPHPPHP &gt;=5.6.4

Since Nov 3Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Ognestraz/OData-Lumen)[ Packagist](https://packagist.org/packages/ognestraz/odata-lumen)[ RSS](/packages/ognestraz-odata-lumen/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (6)Versions (8)Used By (0)

OData-Lumen
===========

[](#odata-lumen)

Composer Package to provide Odata functionality to Lumen to install run

```
composer require realpage/odata-lumen

```

Edit `bootstrap/app.php` and add this to providers section:

```
$app->register(RealPage\OData\Providers\MetadataProvider::class);
$app->register(RealPage\OData\Providers\QueryProvider::class);
```

you then add the trait to the models you want to expose.

```
    use RealPage\OData\Models\MetadataTrait;
```

\-- Known Limitations --

- Cannot expose two models with the same class name in different namespaces - trying to expose both App\\Foo\\Model and App\\Bar\\Model will trip an exception complaining that resource set has already been added.
- This can be worked around by setting a custom endpoint name on one of the colliding models.

\-- Configuration options --

- APP\_METADATA\_CACHING - Whether or not to turn model metadata caching on
- APP\_METADATA\_CACHE\_DURATION - If caching, how long (in minutes) to retain cached metadata

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.2% 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 ~8 days

Recently: every ~1 days

Total

7

Last Release

3422d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1302be06daae82065b01b2e7e693a3bf5177a015d0e6c788647d541d2c07a048?d=identicon)[Ognestraz](/maintainers/Ognestraz)

---

Top Contributors

[![c-harris](https://avatars.githubusercontent.com/u/16450074?v=4)](https://github.com/c-harris "c-harris (101 commits)")[![CyberiaResurrection](https://avatars.githubusercontent.com/u/9083866?v=4)](https://github.com/CyberiaResurrection "CyberiaResurrection (85 commits)")[![Ognestraz](https://avatars.githubusercontent.com/u/403807?v=4)](https://github.com/Ognestraz "Ognestraz (2 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (2 commits)")

---

Tags

laravelservicesodatapodata

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ognestraz-odata-lumen/health.svg)

```
[![Health](https://phpackages.com/badges/ognestraz-odata-lumen/health.svg)](https://phpackages.com/packages/ognestraz-odata-lumen)
```

###  Alternatives

[tpetry/laravel-postgresql-enhanced

Support for many missing PostgreSQL specific features

9982.0M14](/packages/tpetry-laravel-postgresql-enhanced)[algo-web/podata-laravel

Expose Odata services from laravel

333.2k](/packages/algo-web-podata-laravel)[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[flat3/lodata

OData v4.01 Producer for Laravel

96320.9k](/packages/flat3-lodata)[bfinlay/laravel-excel-seeder

Seed the database with Laravel using Excel, XLSX, XLS, CSV, ODS, Gnumeric, XML, HTML, SLK files

3944.4k](/packages/bfinlay-laravel-excel-seeder)[ronasit/laravel-helpers

Provided helpers function and some helper class.

1475.7k13](/packages/ronasit-laravel-helpers)

PHPackages © 2026

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