PHP code example of elevatedthird / paragon-base
1. Go to this page and download the library: Download elevatedthird/paragon-base 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/ */
elevatedthird / paragon-base example snippets
if (isset($_ENV['AH_SITE_ENVIRONMENT'])) {
if (file_exists($app_root . '/' . $site_path . '/settings.acquia.php')) {
if(isset($_ENV['PANTHEON_ENVIRONMENT'])) {
if (file_exists($app_root . '/' . $site_path . '/settings.pantheon.php')) {
if (isset($_ENV['PLATFORM_PROJECT'])) {
if (file_exists($app_root . '/' . $site_path . '/settings.platformsh.php')) {
yaml
deploy: |
set -e
php ./drush/platformsh_generate_drush_yml.php
cd docroot
drush deploy