This project provides several helpful utilities for working with PHP projects, and is used by https://p3k.io applications.
p3k\date- helpful functions for working with dates and timezones
p3k\url- helpful functions for parsing and building URLs
p3k\cache- a simple caching helper backed by Redis
p3k\utils- miscellaneous functions
p3k\global- sets the timezone to UTC (you're already storing all your dates in UTC, right?)
This project should work in all versions of PHP 5.5 and newer.