abishekrsrikaanth / fuel-util
Utility package for FuelPHP
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2024-12-14 06:14:57 UTC
README
Introduction
The Utility Package maintains a set of basic and regular helper/utility methods that are regularly used by any developer.
Usage
Get Unique Id
Util::getUUID()
//returns a Universally Unique Identifier
//Example: a3424ea0-e558-11e1-aff1-0800200c9a66
Convert String To Title
Util::stringToTitle($title)
//Converts $title to Title Case, and returns the result.
Get Time Difference Like Facebook
Util:getTimeDifference($time)
//Finds the Time difference for a given time from the current time in words similar to Facebook
//Returns: 12 seconds ago or
// 4 minutes ago