PHP code example of hammadzafar05 / mobile-bottom-nav
1. Go to this page and download the library: Download hammadzafar05/mobile-bottom-nav 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/ */
hammadzafar05 / mobile-bottom-nav example snippets
use Hammadzafar05\MobileBottomNav\MobileBottomNav;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
MobileBottomNav::make(),
]);
}
MobileBottomNav::make()
->fromNavigation(5) // 4 nav items + 1 More button
MobileBottomNav::make()
->fromNavigation(4) // 4 nav items, no More button
->moreButton(false)