Skip to content

Function made to convert relative paths to absolute paths

Notifications You must be signed in to change notification settings

nerd-framework/path-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Absolute Path Maker

Build Status Coverage Status StyleCI

Usage

use function Nerd\Utils\AbsolutePath\pathMaker;

$make = pathMaker('/some/root');

echo $make('file'); 		// /some/root/file
echo $make('../foo.txt'); 	// /some/foo.txt
echo $make('./other.txt');	// /some/root/other.txt

About

Function made to convert relative paths to absolute paths

Resources

Stars

Watchers

Forks

Packages

No packages published