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 : 18.119.110.206
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
vendor /
dnoegel /
php-xdg-base-dir /
Delete
Unzip
Name
Size
Permission
Date
Action
src
[ DIR ]
drwxr-xr-x
2014-10-24 08:00
tests
[ DIR ]
drwxr-xr-x
2014-10-24 08:00
.gitignore
9
B
-rw-r--r--
2014-10-24 08:00
LICENSE
1.03
KB
-rw-r--r--
2014-10-24 08:00
README.md
728
B
-rw-r--r--
2014-10-24 08:00
composer.json
372
B
-rw-r--r--
2014-10-24 08:00
phpunit.xml.dist
615
B
-rw-r--r--
2014-10-24 08:00
Save
Rename
# XDG Base Directory [](LICENSE.md) Implementation of XDG Base Directory specification for php ## Install Via Composer ``` bash $ composer require dnoegel/php-xdg-base-dir ``` ## Usage ``` php $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 ``` ## 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.