solution-forest/ocpp-php
Composer 安装命令:
composer require solution-forest/ocpp-php
包简介
README 文档
README
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
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.
© 2025 Solution Forest Limited
solution-forest/ocpp-php 适用场景与选型建议
solution-forest/ocpp-php 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 902 次下载、GitHub Stars 达 4, 最近一次更新时间为 2025 年 05 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 solution-forest/ocpp-php 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 solution-forest/ocpp-php 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 902
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-05-27