定制 massrimcp/acme-sdk 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

massrimcp/acme-sdk

最新稳定版本:v1.0.0

Composer 安装命令:

composer require massrimcp/acme-sdk

包简介

Math operations SDK

README 文档

README

A lightweight PHP SDK that demonstrates clean library design with typed APIs, static analysis, testing, and CI quality gates.

Requirements

  • PHP 7.3+ (including 8.x)
  • Composer

Installation

composer require acme/acme-sdk

Usage

<?php

declare(strict_types=1);

use Acme\Sdk\MathClient;

$client = new MathClient();
$math = $client->math();

$sum = $math->add(2.0, 3.0);
$difference = $math->subtract(8.0, 2.0);
$product = $math->multiply(3.0, 4.0);
$quotient = $math->divide(10.0, 2.0);

echo $sum->getResult(); // 5

echo json_encode($sum, JSON_PRETTY_PRINT);
/*
{
    "result": 5,
    "operation": "addition",
    "operands": [2, 3]
}
*/

Development

Run tests:

composer test

Run test coverage:

composer test:coverage

Run static analysis:

composer analyze

Run style checks:

composer lint

Fix style automatically:

composer lint:fix

Run backward compatibility check (Docker required):

composer bc-check

Run full local quality gate:

composer check

License

This project is licensed under Apache License 2.0. See LICENSE.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 11
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2026-05-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固