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. solution-forest/ocpp-php

ActiveLibrary

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

0.0.4(3mo ago)43552PHP

Since Dec 8Pushed 3mo 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 1mo ago

READMEChangelog (4)Dependencies (3)Versions (5)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

38

—

LowBetter than 85% of packages

Maintenance79

Regular maintenance activity

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 84.2% 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 ~139 days

Total

4

Last Release

109d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9499120912b47a170291b3b795ea0255f060d8500bd2988535e4e6faccee5c8d?d=identicon)[solutionforest](/maintainers/solutionforest)

---

Top Contributors

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

---

Tags

clientelectric-vehiclesevchargerframeworkhacktoberfestocppserver

### 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

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[getdkan/dkan

DKAN Open Data Catalog

385135.4k2](/packages/getdkan-dkan)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)

PHPackages © 2026

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