juliardi/homedir
Composer 安装命令:
composer require juliardi/homedir
包简介
A library that contains a single function to determine user's home directory
README 文档
README
A PHP library that contains a single function to determine user's home directory
Requirements
- PHP 7.1 or greater
Installation
$ composer require juliardi/homedir
Functions
This library only has 2 functions, get_home_directory() and is_windows(). Those 2 functions can be called without any arguments.
| Function Name | Return Type | Description |
|---|---|---|
get_home_directory() |
string | Determines current user's home directory |
is_windows() |
boolean | Checks whether current operating system is a Windows |
统计信息
- 总下载量: 241
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-14