a collection of smaller helper functions used by many of my applications
PHP
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tests
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
composer.json
phpunit.xml

README.md

p3k\utils

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\geo - geo functions for calculating distance and other things
  • p3k\global - sets the timezone to UTC (you're already storing all your dates in UTC, right?)

PHP Support

This project should work in all versions of PHP 5.5 and newer.