techunico / dir-reader
this is a simple directory reader writen in php which can read the contents of given directory and return an array
dev-main
2022-08-31 06:27 UTC
This package is auto-updated.
Last update: 2025-06-29 02:00:05 UTC
README
This is simple director reader written in PHP. This will read the contents of the given directory and return an array containing the contents
- install it using composer
composer require techunico/dir-reader
- include path
require "vendor/autoload.php"
- use reader
use Techunico\DirReader\Reader
- example
` $contents = new Reader;
$contents->dirreader('$directory'); `