PHPackages                             justbetter/odata-client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. justbetter/odata-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

justbetter/odata-client
=======================

Saint Systems OData Client for PHP

1.5.0(3mo ago)125.8k↓22%11MITPHPPHP ^8.3

Since Aug 24Pushed 3mo agoCompare

[ Source](https://github.com/justbetter/odata-client-php)[ Packagist](https://packagist.org/packages/justbetter/odata-client)[ Docs](https://github.com/justbetter/odata-client-php)[ RSS](/packages/justbetter-odata-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (9)Dependencies (8)Versions (23)Used By (1)

Get started with the OData Client for PHP
=========================================

[](#get-started-with-the-odata-client-for-php)

A fluent library for calling OData REST services inspired by and based on the [Laravel Query Builder](https://laravel.com/docs/5.4/queries).

*This library is a fork of `saintsystems/odata-client`. The maintainer seems to have abandoned the repo. We will maintain this fork and accept new PR's*

[![Latest Version on Packagist](https://camo.githubusercontent.com/defba637db9daf05321f3b3b2b016f7a15ebbc1b2aca75774b117e7d1d98bd26/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a7573746265747465722f6f646174612d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/justbetter/odata-client)[![Total Downloads](https://camo.githubusercontent.com/2fb271fbf66444e639c1ac9887323b7bee9ebf4f7ff9c4ef3be6ad0b4a4a099d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a7573746265747465722f6f646174612d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/justbetter/odata-client)

Looking for a way to interact with Microsoft Dynamics? Checkout our [Laravel Dynamics Client](https://github.com/justbetter/laravel-dynamics-client)!

Install the SDK
---------------

[](#install-the-sdk)

You can install the PHP SDK with Composer.

```
composer require justbetter/odata-client

```

### Call an OData Service

[](#call-an-odata-service)

The following is an example that shows how to call an OData service.

```
