承接 gonon/core 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

gonon/core

Composer 安装命令:

composer require gonon/core

包简介

Gonon Core Foundation

README 文档

README

Build Coverage PHP Version License Latest Version Downloads

Introduction

Gonon Core is the foundation package for the entire Gonon ecosystem. It provides reusable, vendor-agnostic, and framework-agnostic infrastructure shared by every Gonon SDK.

Features

  • HTTP Abstraction via PSR interfaces
  • Configuration management
  • Unified Exception hierarchy
  • Retry mechanisms (Exponential Backoff, Fixed Delay)
  • Collections and DTO foundations
  • Authentication contracts
  • Testing utilities

Requirements

  • PHP 8.2 or higher

Installation

You can install the package via composer:

composer require gonon/core

Configuration

Gonon Core uses immutable configuration objects.

use Gonon\Core\Configuration\Config;
use Gonon\Core\Configuration\Environment;

$config = new Config(
    environment: Environment::Production,
    timeout: 30,
);

Quick Start

Core is primarily used by SDKs, not directly by applications.

// Example usage inside an SDK
$client = new \Gonon\Core\Http\Client($config);
$response = $client->sendRequest($request);

Examples

Check the examples/ directory for full usage examples.

API Reference

The full API reference is available within the source code via PHPDoc annotations.

Testing

composer test

Contributing

Please see CONTRIBUTING.md for details.

License

The MIT License (MIT). Please see LICENSE for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固