PHPackages                             flat3/lodata - 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. flat3/lodata

ActiveLibrary[API Development](/categories/api)

flat3/lodata
============

OData v4.01 Producer for Laravel

v5.42.0(4w ago)100357.6k↓58.2%35[20 issues](https://github.com/flat3/lodata/issues)[10 PRs](https://github.com/flat3/lodata/pulls)MITPHPPHP ^7.3|^8.0CI passing

Since Oct 31Pushed 1w ago5 watchersCompare

[ Source](https://github.com/flat3/lodata)[ Packagist](https://packagist.org/packages/flat3/lodata)[ Docs](https://github.com/flat3/lodata)[ RSS](/packages/flat3-lodata/feed)WikiDiscussions 5.x Synced 2w ago

READMEChangelog (10)Dependencies (115)Versions (164)Used By (0)

Lodata - The OData v4.01 Producer for Laravel
=============================================

[](#lodata---the-odata-v401-producer-for-laravel)

[![GitHub Workflow Status](https://camo.githubusercontent.com/6ec10cb98e6ee846acfcf488477e9c210e49646c04d763f32eaea5e64d880ab4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f666c6174332f6c6f646174612f74657374732e796d6c)](https://github.com/flat3/lodata/actions)[![OpenAPI Validator](https://camo.githubusercontent.com/e375d8d5df882fcb7be26ef3ad99a367cde5c3f877cb6f1434a44831cfe3e44b/68747470733a2f2f696d672e736869656c64732e696f2f737761676765722f76616c69642f332e303f7370656355726c3d68747470732533412532462532467261772e67697468756275736572636f6e74656e742e636f6d253246666c6174332532466c6f64617461253246352e7825324674657374732532465f5f736e617073686f74735f5f25324650726f746f636f6c253246536572766963654d65746164617461546573745f5f746573745f6861735f666c696768745f6d657461646174615f646f63756d656e745f61745f646f63756d656e745f726f6f745f5f342e6a736f6e)](https://camo.githubusercontent.com/e375d8d5df882fcb7be26ef3ad99a367cde5c3f877cb6f1434a44831cfe3e44b/68747470733a2f2f696d672e736869656c64732e696f2f737761676765722f76616c69642f332e303f7370656355726c3d68747470732533412532462532467261772e67697468756275736572636f6e74656e742e636f6d253246666c6174332532466c6f64617461253246352e7825324674657374732532465f5f736e617073686f74735f5f25324650726f746f636f6c253246536572766963654d65746164617461546573745f5f746573745f6861735f666c696768745f6d657461646174615f646f63756d656e745f61745f646f63756d656e745f726f6f745f5f342e6a736f6e)[![Packagist Version](https://camo.githubusercontent.com/dbee613c1a187729b95341a44918a309dec9c9f958345c024726e7d49e5cd886/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c6174332f6c6f64617461)](https://packagist.org/packages/flat3/lodata)[![Packagist Downloads](https://camo.githubusercontent.com/29c3c21aaa6aa5a0f1d3228079161425d46c63c78193226841255bd4d6c50819/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666c6174332f6c6f64617461)](https://packagist.org/packages/flat3/lodata)[![License](https://camo.githubusercontent.com/b2f08052dd86da668c791ac3d5b2916dadfccab4e0a04767d3da696e0616e124/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f666c6174332f6c6f64617461)](https://packagist.org/packages/flat3/lodata)

[Lodata](https://lodata.io) is an implementation of the OData v4.01 Producer protocol, designed for use with the Laravel framework.

[See the documentation here!](https://lodata.io/introduction/)

[OData](https://www.odata.org) (Open Data Protocol) is an [ISO/IEC approved](https://www.oasis-open.org/news/pr/iso-iec-jtc-1-approves-oasis-odata-standard-for-open-data-exchange), [OASIS standard](https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=odata) that defines a set of best practices for building and consuming RESTful APIs.

OData helps you focus on your business logic while building RESTful APIs without having to worry about the various approaches to define request and response headers, status codes, HTTP methods, URL conventions, media types, payload formats, query options, etc. OData also provides guidance for tracking changes, defining functions/actions for reusable procedures, and sending asynchronous/batch requests.

OData RESTful APIs are easy to consume. The OData metadata, a machine-readable description of the data model of the APIs, enables the creation of powerful generic client proxies and tools. The metadata is available in OData-specific [XML](https://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/odata-csdl-xml-v4.01.html) and [JSON](https://docs.oasis-open.org/odata/odata-csdl-json/v4.01/odata-csdl-json-v4.01.html) formats, as well as an [OpenAPI v3](https://swagger.io/specification/) document.

There are many tools and techniques for exposing APIs from Laravel and there are some specific use cases where Lodata could be a great fit for your application:

- Developing **single page applications** and **mobile applications** with OData-supporting enterprise UI frameworks such as [Sencha ExtJS](https://docs.sencha.com/extjs/latest/modern/Ext.data.proxy.Rest.html), [DevExtreme](https://js.devexpress.com/Documentation/Guide/Data_Binding/Specify_a_Data_Source/OData/), [Kendo UI](https://docs.telerik.com/kendo-ui/framework/datasource/basic-usage) and [Syncfusion](https://ej2.syncfusion.com/documentation/data/adaptors/#odatav4-adaptor).
- Making live connections to **business intelligence** tools such as [Excel](https://docs.microsoft.com/en-us/power-query/connectors/odatafeed), [PowerBI](https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-connect-odata), and [Tableau](https://help.tableau.com/current/pro/desktop/en-us/examples_odata.htm), avoiding clunky CSX/XLSX exports.
- Publishing an out-of-the-box discoverable **OpenAPI** document for tools like [Postman](https://www.postman.com/product/api-client/) to help third parties interact with your application.
- Developing **microservices** in Laravel. With all OData services having the same request syntax, as your team develops many services you can guarantee API consistency.
- Create [real simple integrations](https://lodata.io/clients/) with enterprise applications from [SAP](https://help.sap.com/viewer/3f4043064eed446a895bc8ba7e61dc83/LATEST/en-US/8086d28511be408fbda1443166d350ad.html), [SalesForce](https://developer.salesforce.com/docs/atlas.en-us.integration_patterns_and_practices.meta/integration_patterns_and_practices/integ_pat_data_virtualization.htm)and [Microsoft](https://docs.microsoft.com/en-us/powerapps/maker/data-platform/virtual-entity-odata-provider-requirements). Present forms, tabular data and search interfaces in these applications **without writing a single line of code**.

You can construct OData requests using any HTTP client, but there are also many developer-friendly [OData libraries](https://www.odata.org/libraries/) for different programming languages.

Now go check out the five-minute [getting started](https://lodata.io/getting-started/) guide!

Support
-------

[](#support)

[Flat3](https://flat3.co) now provides commercial support for Lodata. If you need help integrating Lodata into your application, want to build a Lodata-powered service or need new features then [get in touch.](https://flat3.co)

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance93

Actively maintained with recent releases

Popularity52

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 69.9% 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 ~13 days

Recently: every ~18 days

Total

161

Last Release

28d ago

Major Versions

1.x-dev → v2.0.02021-07-17

2.x-dev → v3.0.02021-11-07

v3.0.6 → v4.0.0-beta.12021-11-21

3.x-dev → v4.0.0-beta.22021-12-17

4.x-dev → v5.0.02022-01-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/67b55562fe987d2fcbb682d82a5cf0c92375abc6adf8be8a658da3ca31def862?d=identicon)[chrislloyd403](/maintainers/chrislloyd403)

---

Top Contributors

[![27pchrisl](https://avatars.githubusercontent.com/u/6286310?v=4)](https://github.com/27pchrisl "27pchrisl (1119 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (458 commits)")[![yvo-niedrich](https://avatars.githubusercontent.com/u/13331717?v=4)](https://github.com/yvo-niedrich "yvo-niedrich (5 commits)")[![HoldYourWaffle](https://avatars.githubusercontent.com/u/11472320?v=4)](https://github.com/HoldYourWaffle "HoldYourWaffle (5 commits)")[![Remo](https://avatars.githubusercontent.com/u/129864?v=4)](https://github.com/Remo "Remo (4 commits)")[![merouanekhalili](https://avatars.githubusercontent.com/u/1122628?v=4)](https://github.com/merouanekhalili "merouanekhalili (3 commits)")[![mgerzabek](https://avatars.githubusercontent.com/u/1590082?v=4)](https://github.com/mgerzabek "mgerzabek (2 commits)")[![paulhennell](https://avatars.githubusercontent.com/u/4799852?v=4)](https://github.com/paulhennell "paulhennell (1 commits)")[![sean-james-eco](https://avatars.githubusercontent.com/u/154333068?v=4)](https://github.com/sean-james-eco "sean-james-eco (1 commits)")[![VIPER-VLAD](https://avatars.githubusercontent.com/u/56378416?v=4)](https://github.com/VIPER-VLAD "VIPER-VLAD (1 commits)")[![coderkoala](https://avatars.githubusercontent.com/u/30156167?v=4)](https://github.com/coderkoala "coderkoala (1 commits)")

---

Tags

laravelmicroservicesoctaneodataodata-serverodata-serviceodata-v4openapiphppowerbistreaming-jsonlaravelopenapiodata

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/flat3-lodata/health.svg)

```
[![Health](https://phpackages.com/badges/flat3-lodata/health.svg)](https://phpackages.com/packages/flat3-lodata)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9922.4M147](/packages/roots-acorn)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k57.2M684](/packages/laravel-scout)[flarum/core

Delightfully simple forum software.

211.5M2.5k](/packages/flarum-core)[laravel/pulse

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

1.7k16.3M155](/packages/laravel-pulse)[aedart/athenaeum

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

265.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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