lochmueller / seocli
此包的最新版本(0.2.2)没有可用的许可证信息。
SEO CLI 工具
0.2.2
2024-02-29 07:23 UTC
Requires
- php: ^8.1
- ext-dom: *
- ext-pcntl: *
- guzzlehttp/guzzle: ^7.2
- league/climate: ^3.6
- league/uri: ^7.4
- paquettg/php-html-parser: ^3.1
- seostats/seostats: ^2.5
- t1gor/robots-txt-parser: ^0.2.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.12
- phpmetrics/phpmetrics: ^2.4
This package is auto-updated.
Last update: 2024-08-29 08:19:07 UTC
README
扫描网站以符合 SEO 标准,并在部署脚本中触发索引过程和缓存预热。
用法
Composer 项目
- 要求库
composer require --dev lochmueller/seocli
- 运行
./vendor/bin/seocli ###ARGS###
独立运行
- 克隆仓库
git clone https://github.com/lochmueller/seocli.git
- 加载库
cd seocli && composer install
- 运行
./bin/seocli ###ARGS###
参数
-u uri, --uri uri
SEO CLI 的基本 URI-d depth, --depth depth (默认: 1)
捕获器的深度-f format, --format format (默认: text)
输出格式 [text,json,xml,csv,none]-t topCount, --top-count topCount (默认: 5)
顶部列表中的项目数量 [0=禁用]
示例
以 CSV 格式从 www.website.de 获取信息,深度为 1
###PATH###/seocli -u https://www.website.de -d 1 -f csv