sebastianfeldmann/camino
camino is a lightweight PHP library by Sebastian Feldmann for defining and executing command-line pipelines with clear, composable steps. It helps you build repeatable CLI workflows, handle command execution, capture output, and manage failures consistently.
File system path handling the OO way
composer install sebastianfeldmann/camino
<?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';
}
How can I help you explore Laravel packages today?