sebastianfeldmann / camino
Path management the OO way
Fund package maintenance!
sebastianfeldmann
Installs: 3 441 467
Dependents: 2
Suggesters: 0
Security: 0
Stars: 16
Watchers: 1
Forks: 2
Open Issues: 0
Requires
- php: >=7.1
README
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'; }