HSA Test User c16dcac362 User import | il y a 7 ans | |
---|---|---|
.. | ||
src | il y a 7 ans | |
tests | il y a 7 ans | |
.gitignore | il y a 7 ans | |
LICENSE | il y a 7 ans | |
README.md | il y a 7 ans | |
composer.json | il y a 7 ans | |
phpunit.xml.dist | il y a 7 ans |
Implementation of XDG Base Directory specification for php
Via Composer
$ composer require dnoegel/php-xdg-base-dir
$xdg = \XdgBaseDir\Xdg();
echo $xdg->getHomeDir();
echo $xdg->getHomeConfigDir()
echo $xdg->getHomeDataDir()
echo $xdg->getHomeCacheDir()
echo $xdg->getRuntimeDir()
$xdg->getDataDirs() // returns array
$xdg->getConfigDirs() // returns array
$ phpunit
The MIT License (MIT). Please see License File for more information.