Skip to content

erakashpatel/Finder-Component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finder-Component

find any file in your project directory.

1.Clone repository

git clone https://github.com/erakashpatel/Finder-Component.git

2.composer update

composer update

3.run php

php ./demo OR ./demo

Options 1: Find all files :

Finder::create()->in(__DIR__); // Changed with your directly where you want to find.

Option 2: Find any extension wise any file :

$extention_files  = Finder::create()
		->in(__DIR__)
		->name('*.txt'); 

Option 3: Find any file have text contains :

$contains_files  = Finder::create()
		->in(__DIR__)
		->name('*.txt')
		->contains('{example-key}');

Thanks Akash Patel

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages