Generates filesystem paths. Includes name based paths and date based paths.
The intended use case is to facilitate storage and retrieval of "large" numbers of files by storing them in multiple folders.
$ composer require jacqball/pathsilo
// 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.
$ composer test
If you discover any security related issues, please email email@example.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.