amirhossein5/config-err

This package is abandoned and no longer maintained. No replacement package was suggested.

v1.0.0 2024-11-12 16:33 UTC

This package is auto-updated.

Last update: 2024-12-02 18:44:37 UTC


README

Given we have config/someconf.php:

    // 'missing_key' => ,
    'empty_value' => '',
configErr('someconf.missing_key'); // throws exception
configErr('someconf.empty_value'); // throws exception
configErr('someconf.empty_value', throwOnEmpty = false); // no empty value exception

Installation

composer require amirhossein5/config-err