This project was created by, and is maintained by Brian Faust, and is a package to easily get OS-specific environment paths with PHP. Be sure to browse through the changelog, code of conduct, contribution guidelines, license, and security policy.
Note This package is a port of sindresorhus/environment-paths for PHP.
Note This package requires PHP 8.2 or later, and it supports Laravel 10 or later.
To get the latest version, simply require the project using Composer:
$ composer require bombenprodukt/environment-paths
Please review the contents of our test suite for detailed usage examples.