Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 529 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 529 Bytes

Installation

Add package repository

"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/ivok/fsearch.git"
    }
],

Install the package

composer require ivo/fsearch

Usage

Inside Laravel project

$result = Fsearch::search($this->argument('content'), $this->argument('path'));
print_r($result)

Access through url in laravel project

http://domain.tld/fs

Cli command

php artisan fsearch "content to search" "path/to/dir"