New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

flat3/lodata

OData v4.01 Producer for Laravel
383,998 101
Install
composer require flat3/lodata
Latest Version:v5.50.0
PHP:^7.3|^8.0
Laravel:8 – 13
Older releases:6 · 7
License:MIT
Last Updated:Sep 16, 2026
Links: GitHub  ·  Packagist
Maintainer: chrislloyd403

Lodata - The OData v4.01 Producer for Laravel

GitHub Workflow Status OpenAPI Validator Packagist Version Packagist Downloads License

Lodata is an implementation of the OData v4.01 Producer protocol, designed for use with the Laravel framework.

See the documentation here!

OData (Open Data Protocol) is an ISO/IEC approved, OASIS standard 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 and JSON formats, as well as an OpenAPI v3 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, DevExtreme, Kendo UI and Syncfusion.
  • Making live connections to business intelligence tools such as Excel, PowerBI, and Tableau, avoiding clunky CSX/XLSX exports.
  • Publishing an out-of-the-box discoverable OpenAPI document for tools like Postman 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 with enterprise applications from SAP, SalesForce and Microsoft. 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 for different programming languages.

Now go check out the five-minute getting started guide!

Support

Flat3 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.

Related Packages

neondigital/laravel-openapi-validator

Laravel wrapper for OpenAPI validation

2,237 0
dedoc/scramble

Automatic generation of API documentation for Laravel applications.

19,669,503 2,224
saintsystems/odata-client

Saint Systems OData Client for PHP

605,068 160
justbetter/odata-client

Saint Systems OData Client for PHP

33,012 1
brocc/laravel-openapi

Write OpenApi Specification for Laravel Applications

18,735 2

Version History

Version Released PHP Laravel License
v5.50.0 ^7.3|^8.0 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
v5.44.0 ^7.3|^8.0 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
v5.43.0 ^7.3|^8.0 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
v5.42.0 ^7.3|^8.0 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
v5.41.0 ^7.3|^8.0 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
Pre-releases (2)
Version Released PHP Laravel License
v4.0.0-beta.2 ^7.3|^8.0 ^8.0 MIT
v4.0.0-beta.1 ^7.3|^8.0 ^8.0 MIT