mauro-moreno/find-bundle

Symfony2 Bundle for a PHP based find command.

v1.1.0 2016-02-04 01:34 UTC

This package is auto-updated.

Last update: 2022-07-28 19:57:37 UTC


README

Build Status Build Status Code Coverage Scrutinizer Code Quality

Symfony2 Bundle for a PHP based find command.

Installation

Using composer:

composer require mauro-moreno/find-bundle

Register Bundle in you app/AppKernel.php:

// app/AppKernel.php
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new MauroMoreno\FindBundle\FindBundle(),
        );

        // ...
    }
}

Usage

As simple as using any app/console command.

app/console find:dir {pattern} {directory}
#ouput: file_1