dnoegel/php-xdg-base-dir
Composer 安装命令:
composer require dnoegel/php-xdg-base-dir
包简介
implementation of xdg base directory specification for php
README 文档
README
Implementation of XDG Base Directory specification for php
Install
Via Composer
$ composer require dnoegel/php-xdg-base-dir
Usage
$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
$ phpunit
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 244M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6299
- 点击次数: 16
- 依赖项目数: 14
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-06-30