Web Interfaces of PROSUME
Francesco Arcarese 7e50298209 updated LICENSE and README + upload of the whole project files and sql dump 2 years ago
..
src updated LICENSE and README + upload of the whole project files and sql dump 2 years ago
tests updated LICENSE and README + upload of the whole project files and sql dump 2 years ago
.gitignore updated LICENSE and README + upload of the whole project files and sql dump 2 years ago
LICENSE updated LICENSE and README + upload of the whole project files and sql dump 2 years ago
README.md updated LICENSE and README + upload of the whole project files and sql dump 2 years ago
composer.json updated LICENSE and README + upload of the whole project files and sql dump 2 years ago
phpunit.xml.dist updated LICENSE and README + upload of the whole project files and sql dump 2 years ago

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.