2017 © Pedro Peláez
 

library pathkit

swiss knife to filesystem path

image

fruit/pathkit

swiss knife to filesystem path

  • Tuesday, September 13, 2016
  • by Ronmi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 339 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 23 % Grown

The README.md

PathKit

This package is part of Fruit Framework., (*1)

PathKit is set of tools handling path in filesystem., (*2)

Build Status, (*3)

Synopsis


// let's say if current working directory is /work/temp $path = new Path('../my.file'); // path is '../my.file' $path->isAbsolute(); // false $path->expand(); // /work/temp/../my.file $path->normalize(); // /work/my.file $path->within(); // false, because /work/my.file does not belong to /work/temp $path->within('/work'); // true $path->relative(); // ../my.file $path->relative('/another/work'); // ../../work/my.file

License

Any version of MIT, GPL or LGPL., (*4)

The Versions

13/09 2016

dev-master

9999999-dev

swiss knife to filesystem path

  Sources   Download

The Development Requires

by Ronmi Ren

09/09 2016
08/09 2016
23/10 2015