amirhossein5/config-err

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

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/amirhossein5/config-err

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