PHPackages                             solution-forest/ocpp-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. solution-forest/ocpp-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

solution-forest/ocpp-php
========================

0.1.3(1mo ago)41.1k2MITPHPCI passing

Since Dec 8Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/solutionforest/ocpp-php)[ Packagist](https://packagist.org/packages/solution-forest/ocpp-php)[ RSS](/packages/solution-forest-ocpp-php/feed)WikiDiscussions main Synced yesterday

READMEChangelog (8)Dependencies (11)Versions (9)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/03e4e9e7ada03d633c8e349620433531d9f5b90886e887d2e6df85469d4e4de2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6c7574696f6e2d666f726573742f6f6370702d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/solution-forest/ocpp-php)[![Total Downloads](https://camo.githubusercontent.com/68b2301d01fca9c712118b8158cec30e3b1cb8c4bf3c392564291d5836062548/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f6c7574696f6e2d666f726573742f6f6370702d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/solution-forest/ocpp-php)

OCPP-PHP
========

[](#ocpp-php)

---

A PHP library for implementing the JSON version of the Open Charge Point Protocol (OCPP). This library supports **OCPP 1.6** (errata v4), **OCPP 2.0.1** (Edition 2 FINAL, 2022-12-15, and Edition 3 errata 2024-11).

The purpose of this library is to provide the building blocks to construct a **charging station/charge point** and/or **charging station management system (CSMS)/central system**. It is not a complete solution but rather a flexible toolkit for developers to build OCPP-compliant systems.

> **Note:** OCPP 2.0.1 includes fixes for all known issues in OCPP 2.0 and replaces it. Implementers are advised to use OCPP 2.0.1.

Features
--------

[](#features)

- Full support for OCPP 1.6 and OCPP 2.0.1.
- PHP implementation of essential OCPP components.
- Modular and extensible architecture for building custom solutions.
- WebSocket integration for real-time communication between charging stations and central systems.

Example
-------

[](#example)

Check the example here :

Contribution
------------

[](#contribution)

Contributions are welcome! If you would like to improve this library or add new features, feel free to fork the repository and submit a pull request. Please ensure your code adheres to PSR standards.

---

Acknowledgements
----------------

[](#acknowledgements)

This project is inspired by the [OCPP Python library](https://github.com/mobilityhouse/ocpp)

Special thanks to the contributors of the original library and the OCPP community for their valuable work!

---

License
-------

[](#license)

This library is licensed under the [MIT License](https://github.com/solutionforest/ocpp-php/blob/main/LICENSE).

© 2025 Solution Forest Limited

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance94

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 86.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~77 days

Recently: every ~31 days

Total

8

Last Release

30d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/68211796?v=4)[Solution Forest](/maintainers/solutionforest)[@solutionforest](https://github.com/solutionforest)

---

Top Contributors

[![sfkelseylee](https://avatars.githubusercontent.com/u/138422247?v=4)](https://github.com/sfkelseylee "sfkelseylee (38 commits)")[![lam0819](https://avatars.githubusercontent.com/u/68211972?v=4)](https://github.com/lam0819 "lam0819 (6 commits)")

---

Tags

clientelectric-vehiclesevchargerframeworkhacktoberfestocppserver

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/solution-forest-ocpp-php/health.svg)

```
[![Health](https://phpackages.com/badges/solution-forest-ocpp-php/health.svg)](https://phpackages.com/packages/solution-forest-ocpp-php)
```

###  Alternatives

[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.5k78.3k91](/packages/pocketmine-pocketmine-mp)[getdkan/dkan

DKAN Open Data Catalog

387138.7k2](/packages/getdkan-dkan)[paycore/openfintech-data

Openfintech data

22110.1k](/packages/paycore-openfintech-data)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)[dagger/dagger

Dagger PHP SDK

261.1k](/packages/dagger-dagger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
