Download the PHP package drago-ex/parameters without Composer
On this page you can find all versions of the php package drago-ex/parameters. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download drago-ex/parameters
More information about drago-ex/parameters
Files in drago-ex/parameters
Download drago-ex/parameters
More information about drago-ex/parameters
Files in drago-ex/parameters
Vendor drago-ex
Package parameters
Short Description A simple Nette extension for accessing common directory paths (appDir, wwwDir, tempDir) in your application via dependency injection.
License MIT
Package parameters
Short Description A simple Nette extension for accessing common directory paths (appDir, wwwDir, tempDir) in your application via dependency injection.
License MIT
Please rate this library. Is it a good library?
Informations about the package parameters
Drago Parameters
A lightweight extension for managing application directory paths (such as application, public, and temporary directories) within a Nette-based project. Provides a simple way to access these paths via dependency injection.
Requirements
- PHP >= 8.3, < 9
- Nette Framework
- Composer
Installation
Extension Registration
Register the extension in your neon configuration and pass the directories:
The extension registers one service, Drago\Parameters\Parameters, which holds the three paths.
Accessing Directories in Your Application
Inject the Parameters service wherever you need the paths:
appDir- the application directory (usuallyapp/).wwwDir- the public directory (www/orpublic/).tempDir- the temporary directory for cache and similar files.
All versions of parameters with dependencies
PHP Build Version
Package Version
The package drago-ex/parameters contains the following files
Loading the files please wait ...