PHP code example of constant-exposure / constant-exposure-bundle

1. Go to this page and download the library: Download constant-exposure/constant-exposure-bundle 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/ */

    

constant-exposure / constant-exposure-bundle example snippets

 php 
return [
    ...
    ConstantExposureBundle\ConstantExposureBundle::class => ['all' => true],
];
 javascript
ConstantExposure.getParameter(PARAMETER_NAME [, DEFAUlT_VALUE = null] );