PHP code example of elvandar / ec-bundle
1. Go to this page and download the library: Download elvandar/ec-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/ */
elvandar / ec-bundle example snippets
$externals = $this->container->get('ec');
$externals->getRoute('contact', 'your_second_site');
$externals = $this->container->get('ec');
$externals->redirectToExternal('description', 'your_first_site');