/small-php-helpers

A set of small functions you might be missing in PHP

Primary LanguagePHPMIT LicenseMIT

Small PHP Helpers

This set of small libraries is intended as easy shortcuts for everyday situations.

  • Conversion: Return nice output for numerical values with units
  • Coordinates: Calculate with (WGS84) coordinates
  • Form: Quick forms including validation
  • HtmlEncode & XmlEncode: Convert PHP structures into output; you may also want to look at json_encode
  • Media: Generate HTML for video / audio output for HTML5 with fallbacks
  • Messages: Collect status messages from your controller for output to the user
  • SuperPDO: Gently improves functionality of PDO, see http://www.php.net/manual/en/book.pdo.php
  • Entity & Entities: Using SuperPDO to work with entities
  • Tester: Simple unit test in case PhpUnit is not deployable
  • toolshed: Missing PHP-functions like quoted echo() or a better replacement for empty()

Installation

Via Bower: bower install fboes/small-php-helpers

Version

Version: 2.0.0 (2016-12-09)

Legal stuff

Author: Frank Boës

Copyright & license: See LICENSE.txt