APPLE afd7600c87 wesmiler 点什么广告 před 3 roky
..
src afd7600c87 wesmiler 点什么广告 před 3 roky
tests afd7600c87 wesmiler 点什么广告 před 3 roky
.gitignore afd7600c87 wesmiler 点什么广告 před 3 roky
LICENSE afd7600c87 wesmiler 点什么广告 před 3 roky
README.md afd7600c87 wesmiler 点什么广告 před 3 roky
composer.json afd7600c87 wesmiler 点什么广告 před 3 roky
phpunit.xml.dist afd7600c87 wesmiler 点什么广告 před 3 roky

README.md

XDG Base Directory

Software License

Implementation of XDG Base Directory specification for php

Install

Via Composer

$ composer require dnoegel/php-xdg-base-dir

Usage

$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

$ phpunit

License

The MIT License (MIT). Please see License File for more information.