Skip to content

File system path handling the OO way

License

Notifications You must be signed in to change notification settings

anbuc/camino

 
 

Repository files navigation

Latest Stable Version Minimum PHP Version Downloads License Build Status Scrutinizer Code Quality Code Coverage

Camino

File system path handling the OO way

Installation

composer install sebastianfeldmann/camino

Usage

<?php

use SebastianFeldmann\Camino;

$file = Camino\Path\File::create(__FILE__);
$dir  = Camino\Path\Directory::create(__DIR__);

if ($file->isInDirectory($dir)) {
    echo 'file is located inside the directory';
}

About

File system path handling the OO way

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%