club-1/sphinx-inventory-parser
Composer 安装命令:
composer require club-1/sphinx-inventory-parser
包简介
Parse Sphinx documentation's object.inv inventory file format into an indexed SphinxInventory object.
README 文档
README
Sphinx Inventory Parser is PHP library to parse Sphinx documentation's object inventory file format as used by intersphinx. It is loosely inspired from sphobjinv, whose documentation have also been very useful by describing the Sphinx objects.inv v2 Syntax.
Requirements
The only requirement is PHP >= 7.4 with Zlib extension (usually included).
Installation
This library is available on packagist and can be installed via composer:
composer require club-1/sphinx-inventory-parser
Simple example
The simplest way to use it is with SphinxInventoryParser::parseFromDoc()
that creates a SphinxInventory object directly from an online documentation,
based on its URL (and an optional inventory path).
use Club1\SphinxInventoryParser\SphinxInventoryParser; $inventory = SphinxInventoryParser::parseFromDoc('https://club1.fr/docs/fr/');
For more examples on how to use this library, see the "Usage" section of the documentation.
Documentation
See the full documentation for more information, including the API reference.
Development
Development requirements
- make: to manage build scripts
- composer: to install PHP development dependencies
- pigz: (Optional) to build tests data, will fallback to a PHP script if not present
On Debian and derivatives:
sudo apt install make composer pigz
Build scripts
make # Fetch development dependencies and build tests data. make check # Run tests. make fuzz # Run fuzzer. make clean # Clean all downloaded and generated files.
club-1/sphinx-inventory-parser 适用场景与选型建议
club-1/sphinx-inventory-parser 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 295 次下载、GitHub Stars 达 3, 最近一次更新时间为 2023 年 04 月 02 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 club-1/sphinx-inventory-parser 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 club-1/sphinx-inventory-parser 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 295
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 19
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: LGPL-2.1-or-later
- 更新时间: 2023-04-02