samlitowitz/php-radix-tree-generator
最新稳定版本:v1.0.1
Composer 安装命令:
composer require samlitowitz/php-radix-tree-generator
包简介
Generate PHP code for a Radix Tree for a static set of data
README 文档
README
Generate PHP code for a Radix Tree for a static set of data
Table of Contents
Installation
Install via Composer.
composer require --dev samlitowitz/php-radix-tree-generator
Usage
-
Create a configuration targeting the type(s) you wish to generate a collection for.
-
Generate the desired collection(s) by running the following command
./vendor/bin/php-radix-tree generate config.json ./path/to/output/dir/
Configuration
A JSON schema for the configuration is available here.
The example RadixTree is generated using the
example configuration.
The RadixTreeUnderTest, generated for unit testing, is another good
example of the generated PHP source code.
This site or product includes IP2Location™ ISO 3166-2 Subdivision Code which available from https://www.ip2location.com.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2025-09-30