# Helpers

## 安装

```shell
composer require friendsofhyperf/helpers
```

## 支持函数

- app
- base_path
- blank
- cache
- cookie
- class_namespace
- di
- dispatch
- environment
- enum_value
- event
- filled
- fluent
- info
- literal
- logger
- logs
- now
- object_get
- preg_replace_array
- resolve
- request
- response
- session
- today
- throw_if
- throw_unless
- transform
- validator
- when
- get_client_ip
