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. [API Development](/categories/api)
4. /
5. ognestraz/odata-lumen

ActiveLibrary[API Development](/categories/api)

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 2w ago

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 31% 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

3473d 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

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.6M219](/packages/backpack-crud)[statamic/cms

The Statamic CMS Core Package

4.8k3.5M929](/packages/statamic-cms)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k36.4M127](/packages/darkaonline-l5-swagger)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k13.5M61](/packages/knuckleswtf-scribe)[algo-web/podata-laravel

Expose Odata services from laravel

333.2k](/packages/algo-web-podata-laravel)[flat3/lodata

OData v4.01 Producer for Laravel

99346.1k](/packages/flat3-lodata)

PHPackages © 2026

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