Path management the OO way

Fund package maintenance!
sebastianfeldmann

Installs: 3 435 758

Dependents: 2

Suggesters: 0

Security: 0

Stars: 16

Watchers: 1

Forks: 2

Open Issues: 0

0.9.5 2022-01-03 13:15 UTC

This package is auto-updated.

Last update: 2024-10-29 05:29:07 UTC


README

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';
}