jempoler/php-helpers

Collection of classes or functionality that can be potentially incorporated to PHP application.

dev-main 2022-09-04 19:03 UTC

This package is auto-updated.

Last update: 2025-06-05 01:01:47 UTC


README

This is a collection of PHP helpers class that can potentially be incorporated into your PHP application.

The code in this repository is written in PHP.

Installation

Installing via Composer

Install Composer in a common location or in your project:

curl -s http://getcomposer.org/installer | php

Create the composer.json file or add new require line as follows:

{
    "require": {
        "jempoler/php-helpers": "dev-master"
    }
}

Run the composer installer:

$ php composer.phar install

Installing via GitHub

Just clone the repository in a common location or inside your project:

git clone https://github.com/jempoler/php-helpers.git

Autoloading the Library

Add or register the following namespace strategy to your application loader in order to load classes from the php-helpers repository:

if (file_exists(VENDOR_PATH . 'autoload.php')) {
	$vendor = include VENDOR_PATH . 'autoload.php';
}

Library Index

CountryList

License

php-helpers is open-sourced software licensed under the New BSD License. © Jempoler and contributors