bgotest / filefinder
There is no license information available for the latest version (dev-master) of this package.
File finder by content and additional search features
dev-master
2018-12-16 09:36 UTC
This package is not auto-updated.
Last update: 2024-10-26 01:42:04 UTC
README
File finder is simple search package for finding .txt files by content in all directories or specific ones.
Installation
- Publish Assets and Default files content
$ php artisan vendor:publish --tag=public --force
-
FineFinderService provider is loaded automatically by laravel autodiscovery if version >= 5.5
-
Testing demo after installation : http://example.com/file-finder-demo
-
Ignored folders for searching files - vendor, node_modules, bower_components
Demo image
Results
{ "searchedString": "lore", "searchedFilesCount": 5, "foundFilesCount": 3, "files": [ { "name": "text_file.txt", "directory": "my_custom_folder", "pathName": "my_custom_folder", "extension": "txt", "size": 2019, "positionString": 8 }, { "name": "text_file2.txt", "directory": "my_custom_folder", "pathName": "my_custom_folder", "extension": "txt", "size": 2019, "positionString": 8 }, { "name": "text_file3.txt", "directory": "my_custom_folder", "pathName": "my_custom_folder", "extension": "txt", "size": 2019, "positionString": 8 } ] }