mittnett/config

Installs: 110

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

pkg:composer/mittnett/config

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

This package is not auto-updated.

Last update: 2025-09-26 03:27:38 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]