2017 © Pedro Peláez
 

library php-xdg-base-dir

implementation of xdg base directory specification for php

image

dnoegel/php-xdg-base-dir

implementation of xdg base directory specification for php

  • Tuesday, November 14, 2017
  • by dnoegel
  • Repository
  • 2 Watchers
  • 2743 Stars
  • 37,764,393 Installations
  • PHP
  • 10 Dependents
  • 0 Suggesters
  • 8 Forks
  • 6 Open issues
  • 2 Versions
  • 10 % Grown

The README.md

XDG Base Directory

Latest Stable Version Total Downloads Software License Build Status, (*1)

Implementation of XDG Base Directory specification for php, (*2)

Install

Via Composer, (*3)

``` bash $ composer require dnoegel/php-xdg-base-dir, (*4)


## Usage ``` php $xdg = new \XdgBaseDir\Xdg(); echo $xdg->getHomeDir(); echo $xdg->getHomeConfigDir(); echo $xdg->getHomeDataDir(); echo $xdg->getHomeCacheDir(); echo $xdg->getRuntimeDir(); print_r($xdg->getDataDirs()); // returns array print_r($xdg->getConfigDirs()); // returns array

Testing

bash $ phpunit, (*5)

License

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

The Versions

14/11 2017

dev-master

9999999-dev

implementation of xdg base directory specification for php

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

24/10 2014

0.1

0.1.0.0

implementation of xdg base directory specification for php

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires