library directory-calculator
Directory calculation library
pekkis/directory-calculator
Directory calculation library
- Monday, July 27, 2015
- by pekkis
- Repository
- 1 Watchers
- 2 Stars
- 21,261 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 5 % Grown
pekkis/directory-calculator
A library for calculating directories for objects (files), (*1)
Use case
One shall not put too many files (or sub directories) in one directory. Classic problem., (*2)
This library calculates more or less safe directories for objects identifiable by something (id, uuid, etc)., (*3)
Quickstart
<?php
use Pekkis\DirectoryCalculator\DirectoryCalculator;
use Pekkis\DirectoryCalculator\Strategy\UniversalLeveledStrategy;
$calculator = new DirectoryCalculator(new UniversalLeveledStrategy());
$directory = $calculator->calculateDirectory($someObjectImplementingRequiredInterface);
dev-master
9999999-dev
Directory calculation library
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
filesystem
utility
directory
v0.1.0
0.1.0.0
Directory calculation library
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
filesystem
utility
directory
v1.0.0
1.0.0.0
Directory calculation library
Sources
Download
BSD-3-Clause
The Requires
The Development Requires
filesystem
utility
directory