src/Controllers/QuickadminMenuController.php
public function index()
    {
        $menusList = Menu::with(['children'])
            ->where('menu_type', '!=', 0)
            ->where('parent_id', null)
            ->orderBy('position')->get();

        return view('qa::menus.index', compact('menusList'));
    }
public function index()
    {
        $menusList = Menu::with(['children'])
            ->where('menu_type', '!=', 0)
            ->where('parent_id', null)
            ->orderBy('position')->get();

        return view('qa::menus.index', compact('menusList'));
    }
public function index ( ) { $ menusList = Menu :: with ( [ 'children' ] ) -> where ( 'menu_type' , '!=' , 0 ) -> where ( 'parent_id' , null ) -> orderBy ( 'position' ) -> get ( ) ; return view ( 'qa::menus.index' , compact ( 'menusList' ) ) ; }
Quickadmin menu list page
@return \BladeView|bool|\Illuminate\Contracts\View\Factory|\Illuminate\View\View
Quickadmin menu list page