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: 2024-11-29 01:23:47 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