girgias/warray
Composer 安装命令:
composer require girgias/warray
包简介
Static wrapper around PHP array functions
README 文档
README
Warray a static Wrapper around PHP array functions
A static Wrapper around PHP array functions with consistent signatures and logical return values.
Installing
composer require girgias/warray
Features
Warray provides a clean and consistent interfaces with PHP's array functions.
Most notably making signatures consistent with more sensible default and return values.
For example when a function expects a callback this will ALWAYS be the first argument in the function signature.
If a function allows a strict comparison argument its default is true
compared to PHP's default of false
If a sort_flag argument is present its default is \SORT_REGULAR
Sort functions return the sorted array instead of an integer or boolean.
ToDos
- Complete unit tests
Contributing
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
Links
- Repository: https://github.com/Girgias/warray
- Issue tracker: https://github.com/Girgias/warray/issues
- In case of sensitive bugs like security vulnerabilities, please contact george.banyard@gmail.com directly instead of using the issue tracker.
Licensing
The code in this project is licensed under MIT license.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-01-31