Download the PHP package league/config without Composer

On this page you can find all versions of the php package league/config. 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

league/config

Latest Version Total Downloads Build Status Coverage Status Quality Score Sponsor development of this project

league/config helps you define nested configuration arrays with strict schemas and access configuration values with dot notation. It was created by Colin O'Dell.

πŸ“¦ Installation

This project requires PHP 7.4 or higher. To install it via Composer simply run:

🧰️ Basic Usage

The Configuration class provides everything you need to define the configuration structure and fetch values:

πŸ““ Documentation

Full documentation can be found at config.thephpleague.com.

πŸ’­ Philosophy

This library aims to provide a simple yet opinionated approach to configuration with the following goals:

As a result, this library will likely never support features like:

If you need that functionality you should check out other libraries like:

🏷️ Versioning

SemVer is followed closely. Minor and patch releases should not introduce breaking changes to the codebase.

Any classes or methods marked @internal are not intended for use outside this library and are subject to breaking changes at any time, so please avoid using them.

πŸ› οΈ Maintenance & Support

When a new minor version (e.g. 1.0 -> 1.1) is released, the previous one (1.0) will continue to receive security and critical bug fixes for at least 3 months.

When a new major version is released (e.g. 1.1 -> 2.0), the previous one (1.1) will receive critical bug fixes for at least 3 months and security updates for 6 months after that new release comes out.

(This policy may change in the future and exceptions may be made on a case-by-case basis.)

πŸ‘·β€οΈ Contributing

Contributions to this library are welcome! We only ask that you adhere to our contributor guidelines and avoid making changes that conflict with our Philosophy above.

πŸ§ͺ Testing

πŸ“„ License

league/config is licensed under the BSD-3 license. See the LICENSE.md file for more details.

πŸ—ΊοΈ Who Uses It?

This project is used by league/commonmark.


All versions of config with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.0
dflydev/dot-access-data Version ^3.0.1
nette/schema Version ^1.2
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 league/config contains the following files

Loading the files please wait ....