Path management the OO way

Package info

github.com/sebastianfeldmann/camino

pkg:composer/sebastianfeldmann/camino

Fund package maintenance!

sebastianfeldmann

Statistics

Installs: 7 268 948

Dependents: 2

Suggesters: 0

Stars: 17

Open Issues: 0

0.9.5 2022-01-03 13:15 UTC

Requires

  • php: >=7.1

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT bf2e4c8b2a029e9eade43666132b61331e3e8184

  • Sebastian Feldmann <sf.woop@sebastian-feldmann.info>

pathfile system

This package is auto-updated.

Last update: 2026-06-26 16:27:36 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';
}