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

ActiveLibrary[API Development](/categories/api)

klemensek/odata-client
======================

Saint Systems OData Client for PHP

05PHP

Since Dec 1Pushed 2y agoCompare

[ Source](https://github.com/klemensek/odata-client-php)[ Packagist](https://packagist.org/packages/klemensek/odata-client)[ RSS](/packages/klemensek-odata-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

fork!
=====

[](#fork)

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 currently in preview. Please continue to provide [feedback](https://github.com/saintsystems/odata-client-php/issues/new) as we iterate towards a production-supported library.*

[![Build Status](https://github.com/saintsystems/odata-client-php/actions/workflows/ci.yml/badge.svg)](https://github.com/saintsystems/odata-client-php/actions/workflows/ci.yml)[![Latest Version on Packagist](https://camo.githubusercontent.com/4244e6fd7c2b68fb31aa61ad3c8cdc7b94afa3e70e6427cdb4c12d1b3032d235/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7361696e7473797374656d732f6f646174612d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/saintsystems/odata-client)[![Total Downloads](https://camo.githubusercontent.com/138a70307d93b1f5dea49103d0cd74f398fa4ea0f7bafa737b5976d242390d91/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7361696e7473797374656d732f6f646174612d636c69656e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/saintsystems/odata-client)

For WordPress users, please see our [Gravity Forms Dynamics 365 Add-On](https://www.saintsystems.com/products/gravity-forms-dynamics-crm-add-on/).

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

[](#install-the-sdk)

You can install the PHP SDK with Composer.

```
composer require saintsystems/odata-client

```

### Call an OData Service

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

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

```
