PHP code example of altamash80 / dynamic-bootstrap-menu-laminasmvc-doctrine

1. Go to this page and download the library: Download altamash80/dynamic-bootstrap-menu-laminasmvc-doctrine 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/ */

    

altamash80 / dynamic-bootstrap-menu-laminasmvc-doctrine example snippets


public function getName(){
   return 'footer-menu';
}

<?=$this->navigation('someother_navigation')
                    ->bootstrapMenu()
                    ->setUlClass('navbar-nav')
                    // Optional setting to use with LmcRbac route guard.
                    //->setAuthorizationService($this->LmcRbacAuthorizationServiceHelper())
                    ;