2017 © Pedro Peláez
 

library config

Simple config library for php

image

lefuturiste/config

Simple config library for php

  • Monday, September 25, 2017
  • by lefuturiste
  • Repository
  • 0 Watchers
  • 0 Stars
  • 79 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 3 % Grown

The README.md

config

Simple config library for php, (*1)


Dependecies

  • PHP >= 5.3
  • vlucas/phpdotenv : lasted version

1. Installing

Easy install via composer. Still no idea what composer is? Inform yourself here., (*2)

composer require lefuturiste/config, (*3)


2. Usage

Create .env file in

In your base path you must create .env file., (*4)

Config path

The first params of config class is path of your .php config files, (*5)

Change .env path

The second params of config class is path of your .env file (just directory, no file)., (*6)

Get config array

$configArray = new \lefuturiste\config\Config(dirname(__DIR__) . '/App/config/', dirname(__DIR__));

The Versions

25/09 2017

dev-master

9999999-dev

Simple config library for php

  Sources   Download

MIT

The Requires

 

by Avatar lefuturiste

25/09 2017

0.2

0.2.0.0

Simple config library for php

  Sources   Download

MIT

The Requires

 

by Avatar lefuturiste

13/09 2017

0.1

0.1.0.0

Simple config library for php

  Sources   Download

MIT

The Requires

 

by Avatar lefuturiste