adrian-ortega/dot-notation-php
Composer 安装命令:
composer require adrian-ortega/dot-notation-php
包简介
Access array data with dot notation
README 文档
README
Access array data with dot notation.
Usage
$data = [
'first_name' => 'John',
'title' => 'Doe',
'company' => 'ACME',
'age' => 36,
'address' => [
'street' => '123 Anywhere Street',
'city' => 'Los Angeles',
'state' => 'CA',
'zip_code' => 90210
]
];
$street = DotNotation::parse('address.street', $data);
// outputs 123 Anywhere Street
echo $street
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-23