2017 © Pedro Peláez
 

library common

Helper functions and utilities.

image

litwicki/common

Helper functions and utilities.

  • Friday, February 10, 2017
  • by litwicki
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1,503 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

Litwicki Common

A set of helper functions and utilities with a wide variety of use., (*1)

  • Litwicki\Common\Common is great for various string manipulations, validations, and quick formatting.
  • Litwicki\Common\Form provides helper methods to build arrays and form select for common city, state, country elements.
  • Litwicki\Common\Http provides a helper to parse the Http User Agent to a more readable format.
  • Litwicki\Common\Object includes methods to convert objects to xml, json, array, and vice versa.
  • Litwicki\Common\TimeAgo allows you to parse a DateTime into a readable string of hours, minutes, and/or seconds ago.

Install

$ composer require "litwicki/common"

Usage

Include each of the helpers individually., (*2)

use Litwicki\Common\Common;
use Litwicki\Common\Form;
use Litwicki\Common\Http;
use Litwicki\Common\Object;
use Litwicki\Common\TimeAgo;

The Versions

10/02 2017

dev-master

9999999-dev http://jakelitwicki.com

Helper functions and utilities.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Jake Litwicki

component library helper

29/05 2015

1.0

1.0.0.0

Helper functions and utilities.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by Jake Litwicki