2017 © Pedro Peláez
 

symfony-bundle file-search-bundle

Allow to find files recursively by content.

image

alexkomaralex/file-search-bundle

Allow to find files recursively by content.

  • Monday, February 1, 2016
  • by alexkomaralex
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

AlexkomaralexFileSearchBundle

The AlexkomaralexFileSearchBundle allows serch files by content in Symfony2. It provides a flexible interface to handle different search adapters., (*1)

Features include:, (*2)

  • Console command
  • Symfony finder adapter
  • PHP Directory Iterator adapter
  • Unit/Functional tested

#Installation

  • Install bundle via composer

composer require alexkomaralex/file-search-bundle dev-master, (*3)

  • Enable the bundle in AppKernel.php:

new Alexkomaralex\FileSearchBundle\AlexkomaralexFileSearchBundle(), (*4)

#Configuration

Use original services.yml as example., (*5)

Define any new search adapter as service and inject it into search command service Or use one of two predefined adapters., (*6)

#Usage

php app/console fsearch:find [--path=PATH] <query>, (*7)

  • path - where to find
  • query - what to find

Example: php app/console fsearch:find --path=app/config database, (*8)

The Versions

01/02 2016

dev-master

9999999-dev

Allow to find files recursively by content.

  Sources   Download

GPL

The Requires

 

The Development Requires

by Alex Komaralex