2017 © Pedro Peláez
 

library config

Config functions

image

phlib/config

Config functions

  • Monday, October 30, 2017
  • by letssurf
  • Repository
  • 1 Watchers
  • 0 Stars
  • 717 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 9 % Grown

The README.md

phlib/config

Code Checks Codecov Latest Stable Version Total Downloads Licence, (*1)

$config = [
    'db' => [
        'host' => '10.1.0.1',
        'username' => 'sam',
        'password' => 'SuperSafePass',
    ],
];

$host = \Phlib\Config\get($config, 'db.host');
$port = \Phlib\Config\get($config, 'db.port', 3306);

License

This package is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version., (*2)

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details., (*3)

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/., (*4)

The Versions

30/10 2017

dev-master

9999999-dev

Config functions

  Sources   Download

LGPL-3.0

The Requires

  • php ^7

 

The Development Requires

by James Dempster
by Luke Richards

configuration

30/10 2017

2.0.3

2.0.3.0

Config functions

  Sources   Download

LGPL-3.0

The Requires

  • php ^7

 

The Development Requires

by James Dempster
by Luke Richards

configuration

24/03 2017

2.0.2

2.0.2.0

Config functions

  Sources   Download

LGPL-3.0

The Requires

  • php ^7

 

The Development Requires

by James Dempster
by Luke Richards

configuration

24/03 2017

1.0.x-dev

1.0.9999999.9999999-dev

Config

  Sources   Download

LGPL-3.0

The Requires

  • php ^5.4|^7.0

 

The Development Requires

by James Dempster

24/03 2017

1.0.1

1.0.1.0

Config

  Sources   Download

LGPL-3.0

The Requires

  • php ^5.4|^7.0

 

The Development Requires

by James Dempster

09/03 2017

2.0.1

2.0.1.0 https://github.com/phlib/beanstalk

Config functions

  Sources   Download

LGPL-3.0

The Requires

  • php ^7

 

The Development Requires

by James Dempster
by Luke Richards

configuration

07/03 2017

2.0.0

2.0.0.0 https://github.com/phlib/beanstalk

Config functions

  Sources   Download

LGPL-3.0

The Requires

  • php ^7

 

The Development Requires

by James Dempster
by Luke Richards

configuration

22/02 2015

1.0.0

1.0.0.0

Config

  Sources   Download

The Requires

  • php ~5.4

 

The Development Requires

by James Dempster