2017 © Pedro PelĂĄez
 

library directory-calculator

Directory calculation library

image

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

The README.md

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);

The Versions

27/07 2015

dev-master

9999999-dev

Directory calculation library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

filesystem utility directory

26/07 2015

v0.1.0

0.1.0.0

Directory calculation library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

filesystem utility directory

26/07 2015

v1.0.0

1.0.0.0

Directory calculation library

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5.0

 

The Development Requires

filesystem utility directory