Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Latest commit

 

History

History
26 lines (17 loc) · 989 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 989 Bytes

Roave\Realpath

⚠️ this library is not actually finished or functional, and may never be, it was an idea and it probably got forgotten ⚠️

Build Status Scrutinizer Code Quality Code Coverage

Roave\Realpath is an alternative implementation for PHP's built-in realpath() function, that provides better feedback by way of throwing exceptions instead of just silently returning false.

Installation

Simply require using composer:

$ composer require roave/realpath

Usage

use Roave\Realpath\Realpath;

$myRealPath = Realpath::get($potentialPath);