dev-master
9999999-dev http://includefun.comGenerates sub-directory paths for files to mitigate the too many files in one directory problem
MIT
The Requires
- php >=5.3.3
The Development Requires
by Jacques Ball
files paths
Generates sub-directory paths for files to mitigate the too many files in one directory problem
Generates filesystem paths. Includes name based paths and date based paths., (*1)
The intended use case is to facilitate storage and retrieval of "large" numbers of files by storing them in multiple folders., (*2)
Via Composer, (*3)
``` bash $ composer require jacqball/pathsilo, (*4)
## Usage ``` php // Generate path based on key string (key can be anything such as a file name) $ps = new Jacq\PathSilo\PathSilo(); $path = $ps->getPath('SomeTextString'); // Generate path from date string - dates are not validated, if you pass in 8 digits it will operate $dps = new Jacq\PathSilo\DatePathSilo(); $path = $dps->getPath('20160831');
Please see CHANGELOG for more information what has changed recently., (*5)
bash
$ composer test
, (*6)
Please see CONTRIBUTING and CONDUCT for details., (*7)
If you discover any security related issues, please email jacqball@gmail.com instead of using the issue tracker., (*8)
The MIT License (MIT). Please see License File for more information., (*9)
Generates sub-directory paths for files to mitigate the too many files in one directory problem
MIT
files paths