PHP code example of pantheon-systems-ps / pantheon_nextjs_multi_demo

1. Go to this page and download the library: Download pantheon-systems-ps/pantheon_nextjs_multi_demo 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/ */

    

pantheon-systems-ps / pantheon_nextjs_multi_demo example snippets


if (function_exists('pantheon_get_secret')) {
  $settings['nextjs_client_secret'] = pantheon_get_secret('nextjs_client_secret');
}