https://github.com/solutionforest/ocpp-php
PHP implementation of the Open Charge Point Protocol (OCPP).
https://github.com/solutionforest/ocpp-php
client electric-vehicles evcharger framework hacktoberfest ocpp server
Last synced: 7 days ago
JSON representation
PHP implementation of the Open Charge Point Protocol (OCPP).
- Host: GitHub
- URL: https://github.com/solutionforest/ocpp-php
- Owner: solutionforest
- License: mit
- Created: 2024-09-25T03:29:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-27T05:33:16.000Z (8 months ago)
- Last Synced: 2025-10-20T18:12:23.712Z (4 months ago)
- Topics: client, electric-vehicles, evcharger, framework, hacktoberfest, ocpp, server
- Language: PHP
- Homepage: https://solutionforest.net
- Size: 654 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://packagist.org/packages/solution-forest/ocpp-php)
[](https://packagist.org/packages/solution-forest/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
- 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
Check the example here : https://github.com/solutionforest/ocpp-php/blob/main/src/Examples/
## 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
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
This library is licensed under the [MIT License](https://github.com/solutionforest/ocpp-php/blob/main/LICENSE).
© 2025 Solution Forest Limited