Download the PHP package schababerle-digital/odata-client without Composer

On this page you can find all versions of the php package schababerle-digital/odata-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package odata-client

OData Client for PHP

PHP Version Require

⚠️ Important note: This is an early alpha release! ⚠️

This software is in an early development phase (alpha). The API may change without notice and there may be bugs or incomplete features. Use in production environments is currently not recommended.

A modern, easy-to-use PHP client library for interacting with OData services (version 2 and version 4 are supported). This library was developed with best practices in mind, including clear responsibilities, use of interfaces and PSR compatibility.

Features

Requirements

Installation

You can install the library via Composer:

Quick start / basic usage

Here is a simple example of how you can use the OData V4 client:

Using the OData V2 client

The use of the V2 client is analogous, simply replace the V4-specific classes with their V2 equivalents:

Create an entity (example for V4)

Configuration

HTTP client options

You can configure the underlying HTTP client (e.g. Guzzle) with various options when it is instantiated, such as timeouts, authentication, proxy settings, etc. These are then used by the GuzzleHttpClient. These are then used by the GuzzleHttpClient.

Execute tests

To run the PHPUnit tests for this library:

  1. Clone the repository (if not already done).
  2. Install the dependencies with Composer:

  3. Run PHPUnit from the main directory of the project:

Code Coverage

If you have installed and configured a code coverage driver such as Xdebug or PCOV, you can generate an HTML coverage report:

Then open build/coverage/html/index.html in your browser.

Contributing

Contributions are welcome! Please create a fork of the repository, create a feature branch, commit your changes and create a pull request. Make sure that all tests are still successful.

License

This library is released under the MIT license. See the LICENSE file for more information.

Notes for you:


All versions of odata-client with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
guzzlehttp/guzzle Version ^7.9
psr/http-client Version ^1.0
psr/http-message Version ^1.0 || ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package schababerle-digital/odata-client contains the following files

Loading the files please wait ....