PHPackages                             andreibesleaga/ocm-php - 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. andreibesleaga/ocm-php

ActiveLibrary[API Development](/categories/api)

andreibesleaga/ocm-php
======================

OCM PHP SDK

v0.2.4(2mo ago)04Apache-2.0PHPPHP ^8.1CI passing

Since Jan 23Pushed 1mo agoCompare

[ Source](https://github.com/andreibesleaga/ocm-php)[ Packagist](https://packagist.org/packages/andreibesleaga/ocm-php)[ RSS](/packages/andreibesleaga-ocm-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (28)Versions (14)Used By (0)

Ocm PHP API library
===================

[](#ocm-php-api-library)

The Ocm PHP library provides convenient access to the Ocm REST API from any PHP 8.1.0+ application.

It is generated with [Stainless](https://www.stainless.com/).

Documentation
-------------

[](#documentation)

The REST API documentation can be found on [openchargemap.org](https://openchargemap.org/site/about).

Installation
------------

[](#installation)

To use this package, install via Composer by adding the following to your application's `composer.json`:

```
{
  "repositories": [
    {
      "type": "vcs",
      "url": "git@github.com:andreibesleaga/ocm-php.git"
    }
  ],
  "require": {
    "andreibesleaga/ocm-php": "dev-main"
  }
}
```

Usage
-----

[](#usage)

This library uses named parameters to specify optional arguments. Parameters with a default value must be set by name.

```
