assegaiphp/common
Composer 安装命令:
composer require assegaiphp/common
包简介
The assegai/common package is a collection of commonly used utility classes and functions for AssegaiPHP projects. This package provides a set of tools that are designed to make it easier for developers to perform common tasks such as working with arrays, strings, and paths. The package also include
README 文档
README
A progressive PHP framework for building effecient and scalable server-side applications.
AssegaiPHP Common Library
Welcome to the AssegaiPHP common library! This package provides a set of common classes and utilities that can be used in any AssegaiPHP project.
The package includes the following features:
- HttpClient class: A simple and flexible class for performing HTTP requests. It supports
GET,POST,PUT,DELETEand other request methods, and can also handle request headers and parameters. - Utility classes: A collection of classes for common tasks such as logging, path manipulation, and more.
All classes are designed to be injectable and can be easily integrated into any AssegaiPHP application.
Contribution workflow
For commit and pull request conventions in this repo, see:
To install the package, simply require it in your composer.json file:
composer require assegaiphp/common
You can then use the classes in your application by importing the namespace:
use Assegai\Common\Http\HttpClient;
You can also use the #[Injectable] attribute to easily inject the HttpClient class into your controllers and services.
We hope you find the AssegaiPHP common library useful in your projects! If you have any questions or feedback, please open an issue on the GitHub repository.
assegaiphp/common 适用场景与选型建议
assegaiphp/common 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 250 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 01 月 26 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 assegaiphp/common 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 assegaiphp/common 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 250
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 16
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-26