PHP code example of agence-adeliom / easy-redirect-bundle
1. Go to this page and download the library: Download agence-adeliom/easy-redirect-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/ */
agence-adeliom / easy-redirect-bundle example snippets
namespace App\Controller\Admin;
...
use Adeliom\EasyRedirectBundle\Admin\EasyRedirectTrait;
class DashboardController extends AbstractDashboardController
{
...
use EasyRedirectTrait;
...
public function configureMenuItems(): iterable
{
...
yield from $this->configRedirectEntry();
...
bash
php bin/console doctrine:migration:diff
php bin/console doctrine:migration:migrate