Path management the OO way

Fund package maintenance!
sebastianfeldmann

Installs: 2 590 876

Dependents: 2

Suggesters: 0

Security: 0

Stars: 14

Watchers: 1

Forks: 2

Open Issues: 0

0.9.5 2022-01-03 13:15 UTC

This package is auto-updated.

Last update: 2024-03-29 04:05:17 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';
}