2017 © Pedro Peláez
 

library config

Library for manipulation with project configurations

image

drmvc/config

Library for manipulation with project configurations

  • Thursday, April 12, 2018
  • by EvilFreelancer
  • Repository
  • 1 Watchers
  • 0 Stars
  • 731 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 13 Versions
  • 14 % Grown

The README.md

Latest Stable Version Build Status Total Downloads License PHP 7 ready Code Climate Scrutinizer CQ, (*1)

DrMVC\Config

Library for manipulation with project configurations., (*2)

composer require drmvc/config

How to use

<?php
require_once __DIR__ . '/../vendor/autoload.php';

// Config object
$config = new \DrMVC\Config();

// Load file with array inside from filesystem
$config->load(__DIR__ . '/array.php');

// Load file from filesystem and put into array with specific key
$config->load(__DIR__ . '/array.php', 'subarray');

$config->set('param_new', 'value'); // Add new text parameter
$config->set('param_arr', [1,2,3]); // Add new array parameter

$all = $config->get();              // Get all available parameters
$one = $config->get('param_new');   // Get single parameter
$arr = $config->get('param_arr');   // Get single parameter with array

More examples you can find here., (*3)

About PHP Unit Tests

First need to install all dev dependencies via composer update, then you can run tests by hands from source directory via ./vendor/bin/phpunit command., (*4)

Links

The Versions

12/04 2018

dev-master

9999999-dev https://drmvc.com/

Library for manipulation with project configurations

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

helpers configuration loader

30/03 2018

3.0.5

3.0.5.0 https://drmvc.com/

Library for manipulation with project configurations

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

helpers configuration loader

30/03 2018

3.0.4

3.0.4.0 https://drmvc.com/

Library for manipulation with project configurations

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

helpers configuration loader

30/03 2018

3.0.3

3.0.3.0 https://drmvc.com/

Library for manipulation with project configurations

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

helpers configuration loader

30/03 2018

3.0.2

3.0.2.0 https://drmvc.com/

Library for manipulation with project configurations

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

helpers configuration loader

29/03 2018

3.0.1

3.0.1.0 https://drmvc.com/

Library for manipulation with project configurations

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

helpers configuration loader

27/03 2018

3.0.0

3.0.0.0 https://drmvc.com/

DrMVC configuration loader

  Sources   Download

MIT

The Requires

  • php ^7.0

 

The Development Requires

helpers configuration loader

22/03 2018

1.1.2

1.1.2.0 https://drmvc.com/

DrMVC config loader

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

helpers configuration loader

24/06 2017

1.1.1

1.1.1.0 https://drmvc.com/

DrMVC config loader

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

helpers configuration loader

14/06 2017

1.1

1.1.0.0 https://drmvc.com/

DrMVC config loader

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

helpers configuration loader

09/04 2017

1.0.1

1.0.1.0 https://drmvc.com/

DrMVC config loader

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

helpers configuration loader

09/04 2017

1.0

1.0.0.0 https://drmvc.com/

DrMVC config loader

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

helpers configuration loader

06/04 2017

0.0.1

0.0.1.0 https://drmvc.com/

DrMVC config loader

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

helpers configuration loader