vilks / file-search-bundle
允许通过内容查找文件
1.0.1
2016-01-26 09:20 UTC
Requires
- php: >=5.3.0
- ext-mbstring: *
- symfony/config: ~2.5
- symfony/console: ~2.5
- symfony/dependency-injection: ~2.5
- symfony/yaml: ~2.5
Requires (Dev)
- phpunit/phpunit: >=3.7.0
- symfony/browser-kit: ~2.5
- symfony/debug: ~2.5
- symfony/framework-bundle: ~2.5
Suggests
- symfony/framework-bundle: To use this lib as a full Symfony Bundle
This package is not auto-updated.
Last update: 2024-09-20 10:12:28 UTC
README
Symfony2 的 Bundle,允许通过内容查找文件。
安装
通过 composer 下载
composer require vilks/file-search-bundle
添加到 Kernel
new Vilks\FileSearchBundle\VilksFileSearchBundle()
使用方法
php app/console find-file [--engine=ENGINE] [-p, --path=PATH] <needle>
needle 搜索内容 path 搜索路径。默认为当前目录。**engine** 搜索引擎。您可以编写自己的引擎。
by iGrizZli