juliardi / homedir
A library that contains a single function to determine user's home directory
1.0.0
2020-11-14 10:08 UTC
Requires
- php: ~7.1
Requires (Dev)
- phpunit/phpunit: ^9
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 |