sfneal/array-helpers
最新稳定版本:3.3.1
Composer 安装命令:
composer require sfneal/array-helpers
包简介
Array helpers for PHP applications
关键字:
README 文档
README
Array helpers for PHP applications.
Installation
You can install the package via composer:
composer require sfneal/array-helpers
In order to autoload to the helper functions add the following path to the autoload.files section in your composer.json.
"autoload": { "files": [ "vendor/sfneal/array-helpers/src/arrays.php" ] },
Usage
Here's an example use of the arrayRemoveKeys method.
$array = ['red' => 36, 'black' => 88, 'white' => 72]; // Remove a key from the array use Sfneal\Helpers\Arrays\ArrayHelpers; (new ArrayHelpers($array))->arrayRemoveKeys('red'); >>> ['black' => 88, 'white' => 72,];
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email stephen.neal14@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
PHP Package Boilerplate
This package was generated using the PHP Package Boilerplate.
统计信息
- 总下载量: 148.97k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-09