Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
This package has been abandoned. Use laminas/laminas-config instead.
Generated on Jun 2, 2024 via composer

zendframework/zend-config 3.3.0

provides a nested object property based user interface for accessing this configuration data within application code
Package summary
Share
2
issues
2
high severity
meta
2
2
licenses
2
BSD-3-Clause
1
MIT
Package created
7 Feb 2013
Version published
8 Jun 2019
Maintainers
1
Total deps
3
Direct deps
2
License
BSD-3-Clause

Issues

2

2 high severity issues

high
via: zendframework/zend-config@3.3.0
via: zendframework/zend-stdlib@3.2.1
Collapse
Expand

Licenses

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
zendframework/zend-config@3.3.0
zendframework/zend-stdlib@3.2.1

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
psr/container@1.1.2
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

2
All Dependencies CSV
β“˜ This is a list of zendframework/zend-config 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
psr/container1.1.23.5 kBMIT
prod
zendframework/zend-stdlib3.2.152.72 kBBSD-3-Clause
prod
1

Visualizations

Frequently Asked Questions

What does zendframework/zend-config do?

Zendframework/zend-config is a powerful composer package designed to significantly simplify the access to configuration data within applications. It aims to provide an intuitive, nested object property-based user interface that allows developers to conveniently access this configuration data within their application code. The key advantage of zend-config lies in its versatility as it can handle configuration data coming from various media that support hierarchical data storage, enhancing its flexibility for diverse application requirements.

How do you use zendframework/zend-config?

To use zend-config, you first need to install it. As it's a Composer package, you just need to run the following command in your project's root directory:

composer require zendframework/zend-config

Once you've successfully installed zend-config, you can use it to access your configuration data. Here's an example of how to use it:

// Assuming you have a configuration array
$configArray = [
    'database' => [
        'host' => 'localhost',
        'user' => 'dbuser',
        'password' => 'dbpass',
    ],
    'app' => [
        'name' => 'My App',
    ],
];

// You can simply convert this array to a \Zend\Config\Config object
$config = new \Zend\Config\Config($configArray);

// And now you can access your config data easily
$dbHost = $config->database->host;

As you can see, accessing configuration data becomes extremely easy and intuitive with zend-config.

Where are the zendframework/zend-config docs?

For detailed information, usage examples, and advanced topics, please refer to the official zend-config documentation provided by the Zend Framework. The entire documentation can be accessed online at https://docs.zendframework.com/zend-config/, which features comprehensive guides and references to help you make the most out of zend-config.