Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.21.106.4
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
1 /
vendor /
dnoegel /
php-xdg-base-dir /
Delete
Unzip
Name
Size
Permission
Date
Action
src
[ DIR ]
drwxr-xr-x
2020-11-17 16:24
LICENSE
1.03
KB
-rw-r--r--
2020-11-17 16:24
README.md
1.21
KB
-rw-r--r--
2020-11-17 16:24
composer.json
387
B
-rw-r--r--
2020-11-17 16:24
Save
Rename
# XDG Base Directory [](https://packagist.org/packages/dnoegel/php-xdg-base-dir) [](https://packagist.org/packages/dnoegel/php-xdg-base-dir) [](LICENSE.md) [](https://travis-ci.org/dnoegel/php-xdg-base-dir) Implementation of XDG Base Directory specification for php ## Install Via Composer ``` bash $ composer require dnoegel/php-xdg-base-dir ``` ## Usage ``` php $xdg = new \XdgBaseDir\Xdg(); echo $xdg->getHomeDir(); echo $xdg->getHomeConfigDir(); echo $xdg->getHomeDataDir(); echo $xdg->getHomeCacheDir(); echo $xdg->getRuntimeDir(); print_r($xdg->getDataDirs()); // returns array print_r($xdg->getConfigDirs()); // returns array ``` ## Testing ``` bash $ phpunit ``` ## License The MIT License (MIT). Please see [License File](https://github.com/dnoegel/php-xdg-base-dir/blob/master/LICENSE) for more information.