Download the PHP package ffi/env without Composer
On this page you can find all versions of the php package ffi/env. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package env
FFI Environment
A set of API methods for working with the FFI environment.
Requirements
- PHP >= 7.4
Installation
Library is available as composer repository and can be installed using the following command in a root of your project.
Usage
Retrieve FFI Status
Status can be be one of:
\FFI\Env\Status::NOT_AVAILABLE
- Extension not available.\FFI\Env\Status::DISABLED
- Extension disabled.\FFI\Env\Status::ENABLED
- Extension enabled and available in any environment.\FFI\Env\Status::CLI_ENABLED
- Extension available only in CLI SAPI or using a preload.
Checking Availability
In the case that the environment needs to be checked unambiguously, then you
can use assertAvailable()
method:
Optimization
To check the environment, it is recommended to use the assert
functionality.
All versions of env with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4|^8.0
The package ffi/env contains the following files
Loading the files please wait ....