Skip to content

Helpers

Installation

shell
composer require friendsofhyperf/helpers

Supported Functions

  • 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
  • retry
  • session
  • str
  • tap
  • throw_if
  • throw_unless
  • today
  • trait_uses_recursive
  • transform
  • value
  • with