2017 © Pedro Peláez
 

library predefiner

A simple package to quickly and dynamically set PHP constants.

image

gavinggordon/predefiner

A simple package to quickly and dynamically set PHP constants.

  • Wednesday, February 1, 2017
  • by gavinggordon
  • Repository
  • 1 Watchers
  • 1 Stars
  • 18 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Predefiner

Build Status Packagist Version Github Release Usage License, (*1)

Description

This class (GGG\Config\Predefiner) is a simple package to quickly and dynamically set PHP constants., (*2)

Usage

Installation

    composer require gavinggordon/predefiner

Examples

Instantiation:

    include_once( __DIR__ . '/vendor/autoload.php' );

    $predefiner = new \GGG\Config\Predefiner();

Setting:

    $predefiner->set( ['API_KEY' => 'abc123def456hij789klm0'] );

Initializing:

    $predefiner->init();

    echo API_KEY;
    // Result: 'abc123def456hij789klm0';

Issues

If you have any issues at all, please post your findings in the issues page at https://github.com/gavinggordon/predefiner/issues., (*3)

License

This package utilizes the MIT License., (*4)

The Versions

01/02 2017

dev-master

9999999-dev http://predefiner.gavingordon.com

A simple package to quickly and dynamically set PHP constants.

  Sources   Download

MIT

The Development Requires

php configuration config environment env define definitions constant setup setting constants v1.0.0 predefined definition

15/04 2016

1.0.0

1.0.0.0 http://predefiner.gavingordon.com

A simple package to quickly and dynamically set PHP constants.

  Sources   Download

MIT

The Development Requires

php environment setup setting constants predefined