Drupal investigation

HSA Test User c16dcac362 User import %!s(int64=7) %!d(string=hace) años
..
src c16dcac362 User import %!s(int64=7) %!d(string=hace) años
tests c16dcac362 User import %!s(int64=7) %!d(string=hace) años
.gitignore c16dcac362 User import %!s(int64=7) %!d(string=hace) años
LICENSE c16dcac362 User import %!s(int64=7) %!d(string=hace) años
README.md c16dcac362 User import %!s(int64=7) %!d(string=hace) años
composer.json c16dcac362 User import %!s(int64=7) %!d(string=hace) años
phpunit.xml.dist c16dcac362 User import %!s(int64=7) %!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.