2017 © Pedro Peláez
 

library path

A PHP library for manipulating paths.

image

spol/path

A PHP library for manipulating paths.

  • Monday, February 16, 2015
  • by spol
  • Repository
  • 1 Watchers
  • 2 Stars
  • 1,673 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Path by @spol

Path is a simple library for manipulating strings containing filesystem paths., (*1)

Installation

Through composer:, (*2)

{
    "require": {
        "spol/path": "0.1.*"
    }
}

Usage

There are two concrete implementations of the Spol\Path\AbstractPath class, Spol\Path\UnixPath and Spol\Path\WindowsPath. Both provide the same interface, but handle directory separators and drive letters differently., (*3)

The Spol\Path\Path class provides a static facade to the appropriate class for the current system. Alternatively, either class can be used directly, such as for working with paths for a different system., (*4)

Path::normalize('/usr/local/../bin')    // '/usr/bin'

To Be Completed., (*5)

The Versions

16/02 2015

dev-master

9999999-dev

A PHP library for manipulating paths.

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

by Seb Pollard

16/02 2015

v0.1.3

0.1.3.0

A PHP library for manipulating paths.

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

by Seb Pollard

05/02 2015

v0.1.2

0.1.2.0

A PHP library for manipulating paths.

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

by Seb Pollard

05/02 2015

v0.1.1

0.1.1.0

A PHP library for manipulating paths.

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

by Seb Pollard

19/01 2014

v0.1.0

0.1.0.0

A PHP library for manipulating paths.

  Sources   Download

MIT

The Requires

  • php >=5.2

 

The Development Requires

by Seb Pollard