Download the PHP package liquidrazor/config-loader without Composer

On this page you can find all versions of the php package liquidrazor/config-loader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package config-loader

ConfigLoader

A lightweight, data-only configuration loading library for PHP 8.3+.

ConfigLoader provides a deterministic and strict pipeline for loading application configuration from a single declarative format, applying layered overrides and environment interpolation, and returning a final normalized array.

No executable configuration. No framework coupling. No hidden magic.

Documentation


Philosophy

Config is data, not code.

ConfigLoader enforces:

This keeps configuration:


Features


Non-Goals

ConfigLoader deliberately does not provide:


Installation


Basic Usage


Config Root

By default, configuration is expected in:

You can override this:


Supported Formats

YAML (default)

Supported extensions:


JSON (explicit)

Must be explicitly enabled:

Supported extension:

JSON requires the PHP ext-json extension. If ext-json is unavailable, install it or switch the loader format to YAML.


Important

A loader instance supports only one format.

Mixing formats is not allowed.


File Resolution

Config is loaded by logical name:

Resolves to:

(or .json depending on format)


Layered Configuration

ConfigLoader supports layered overrides.

Example:

Resolves and merges in order:


Merge Behavior

Default merge rules:

This ensures predictable behavior and avoids duplication issues.


Environment Interpolation

Environment variables can be interpolated inside config values.

Syntax

Example

Behavior


Error Handling

ConfigLoader fails fast and loudly:

No silent fallbacks. No guessing.


Internal Pipeline

The configuration loading process follows a strict pipeline:

Each stage is isolated and deterministic.


Architecture

Project structure follows:

Core Components


Design Principles


Future Scope

Planned but intentionally excluded from this library:


Summary

ConfigLoader is a strict, minimal, and predictable configuration pipeline.

It does one job:

Load configuration as data, correctly.

Nothing more. Nothing less.


All versions of config-loader with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package liquidrazor/config-loader contains the following files

Loading the files please wait ...