mittnett/config

v1.0.0 2017-11-18 21:40 UTC

This package is not auto-updated.

Last update: 2024-11-21 22:56:13 UTC


README

A library to provide a configuration objects by key values, it also supports different data types.

Requirements

  • PHP 7.1

Simple usage

<?php

$config = new \MittNett\Config\Config('somekey', new \MittNett\Config\Type\StringType());
$config->setValue('lol');

ORM Integrations

Optionally, you can also install doctrine/orm to use the provided annotation mappings in this library.

License

MIT License, see [LICENSE.md]