daniel-ac-martin/php-seids
Composer 安装命令:
composer require daniel-ac-martin/php-seids
包简介
Supplementary, Easily Interchangeable Data Structures for PHP 5. Provides alternatives and supplements to the Standard PHP Library (SPL) Datastructures.
关键字:
README 文档
README
PHP SEIDS provides drop-in replacements for the SPL Data Structure classes which offer alternative implementations and/or enhanced functionality.
The main features of this library are:
- An array-deque (only takes integer keys in a certain range, grows automatically from either end)
- An updatable pairing heap, with associated priority queue
A full list of classes as well as some simple tutorials on how to use the classes can be found in the manual.
The library has been designed so that it is very easy to switch between them and the original ones provided by the SPL. This means that if at some point in the future you no longer require the extra functionality they provide you can simply switch back to using the original SPL ones.
This is the initial release of this library which means it cannot be guaranteed to be bug free. That said, the library has passed its extensive unit test suite which has 100% code coverage (by line).
Note: The classes in this library are implemented directly in PHP, rather than C as the original SPL versions are. As such, they are not fast and should only be used when execution speed is not an issue or when the extra functionality they provide is absolutely required.
Getting started
- PHP 5.3.x is required
- Install PHP SEIDS using Composer (recommended) or manually
- Read the short tutorials to see how to use the library
Composer Installation
- Get Composer
- Require PHP SEIDS with
php composer.phar require daniel-ac-martin/php-seids - Install dependencies with
php composer.phar install
Contributing
If you would like to contribute to PHP SEIDS please bear in mind that it is written according to the PSR-1 coding standard. The project is set-up to work with PHP_CodeSniffer to help contributors keep to this standard.
License
Copyright (C) 2015 Daniel A.C. Martin
Distributed under the MIT License.
daniel-ac-martin/php-seids 适用场景与选型建议
daniel-ac-martin/php-seids 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 59 次下载、GitHub Stars 达 3, 最近一次更新时间为 2015 年 04 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「spl」 「queue」 「data structures」 「stack」 「heap」 「php-seids」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 daniel-ac-martin/php-seids 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 daniel-ac-martin/php-seids 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 daniel-ac-martin/php-seids 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Non-standard PHP library (NSPL) - functional primitives toolbox and more
Shoot aims to make providing data to your templates more manageable
Collection of exception class and utilities
PHP AMQP Binding Library
Adds the EDTF data type to Wikibase
A Laravel package to monitor queue jobs.
统计信息
- 总下载量: 59
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 29
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-18