| Recommend this page to a friend! | 
| Classes of Eric Sizemore | Utility | docs/basic-usage.md | Download | 
  | 
|||||||||||||||||||||
Basic usageEsi\Utility is a collection of various components that provides a toolbox, of sorts, for commonly used functions. You can choose to use them individually, or all in one go. 
Then just use whichever class you need. Arrays ExampleThe Esi\Utility\Arrays class provides various array functions to handle and process arrays (or some ArrayAccess objects). See more: \Esi\Utility\Arrays 
Conversion ExampleThe Esi\Utility\Conversion class provides miscellaneous conversion functions (converting between different temperatures, calculating point distance, etc.) See more: \Esi\Utility\Conversion 
Dates ExampleThe Esi\Utility\Dates class provides a few functions centered around timezones. It can take a timezone and return certain information about that timezone, for example. See more: \Esi\Utility\Dates 
Environment ExampleThe Esi\Utility\Environment class provides various functions centered around the server / host environment. It can be used to determine the current host / url, the visitor's IP address, etc. See more: \Esi\Utility\Environment 
Filesystem ExampleThe Esi\Utility\Filesystem class provides various functions centered around the filesystem. It can be used to read and write files, get a list of files in a directory, etc. See more: \Esi\Utility\Filesystem 
Image ExampleThe Esi\Utility\Image class provides various functions centered around images. It can be used to determine if various image PHP extensions are available, determine image type, etc. See more: \Esi\Utility\Image 
Numbers ExampleThe Esi\Utility\Numbers class provides a few number-centric functions. See more: \Esi\Utility\Numbers 
Strings ExampleThe Esi\Utility\Strings class provides various string-centric functions with the ability to use multibyte via mbstring, if available. See more: \Esi\Utility\Strings  |