path-util
A robust cross-platform utility for normalizing, comparing and modifying file paths.
File Explorer
Download Latest Version (.zip)- usage.md
- Path.php
- Url.php
- PathTest.php
- UrlTest.php
- .composer-auth.json
- .gitignore
- .styleci.yml
- .travis.yml
- appveyor.yml
- CHANGELOG.md
- composer.json
- LICENSE
- phpunit.xml.dist
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/webmozart/path-util
Downloads the entire project code from GitHub to your computer.
cd path-util
Moves into the project folder you just downloaded.
2. PHP (Composer)
Easy RecommendedPrerequisites
$ composer require webmozart/path-util
Type this command into your terminal and run it.
Path::join('phar://C:/Documents', 'projects/my-project.phar', 'composer.json');
Type this command into your terminal and run it.
// => phar://C:/Documents/projects/my-project.phar/composer.json
Type this command into your terminal and run it.
Run it with a built-in server like php -S localhost:8000, then open http://localhost:8000 in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
