Install Dotenvx for PHP

Use PIE to install the native extension for PHP 8.1 or later. Then add the Composer package from your project directory


$ pie install dotenvx/phpdotenvx-ext
$ composer require dotenvx/phpdotenvx

See the PHP SDK guide for usage and API details.

markdown