PHP code example of tixelrocks / long-env

1. Go to this page and download the library: Download tixelrocks/long-env library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tixelrocks / long-env example snippets


 
return [
    'private_key' => env('PASSPORT_PRIVATE_KEY')
];

return [
    'private_key' => long_env('PASSPORT_PRIVATE_KEY')
];


  json_encode(long_env_prepare('KEY', 'SUPER LONG STRING'), JSON_PRETTY_PRINT);