菜谱项目

sunlight 9321b15c94 first commit %!s(int64=6) %!d(string=hace) años
..
src 9321b15c94 first commit %!s(int64=6) %!d(string=hace) años
tests 9321b15c94 first commit %!s(int64=6) %!d(string=hace) años
.gitignore 9321b15c94 first commit %!s(int64=6) %!d(string=hace) años
LICENSE 9321b15c94 first commit %!s(int64=6) %!d(string=hace) años
README.md 9321b15c94 first commit %!s(int64=6) %!d(string=hace) años
composer.json 9321b15c94 first commit %!s(int64=6) %!d(string=hace) años
phpunit.xml.dist 9321b15c94 first commit %!s(int64=6) %!d(string=hace) años

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.