Database/Seeders/MenuTableSeeder.php
public function run()
    {
        Model::unguard();

        menu()->seedItems([
            'leftAdminMenu' => [
                [
                    'name' => TransHelper::getAllLanguages()->mapWithKeys(function ($language) {
                        return [$language->iso_code => 'Settings'];
                    }),
                    'value' => TransHelper::getAllLanguages()->mapWithKeys(function ($language) {
                        return [$language->iso_code => 'admin::setting.index'];
                    }),
                    'icon'            => 'ion-gear-b',
                    'type'            => 'route',
                    'is_active'       => 1,
                    'active_resolver' => 'admin::setting.*',
                    'module'          => 'Setting',
                    'parameters'      => json_encode([])
                ]
            ],
        ]);
    }
public function run()
    {
        Model::unguard();

        menu()->seedItems([
            'leftAdminMenu' => [
                [
                    'name' => TransHelper::getAllLanguages()->mapWithKeys(function ($language) {
                        return [$language->iso_code => 'Settings'];
                    }),
                    'value' => TransHelper::getAllLanguages()->mapWithKeys(function ($language) {
                        return [$language->iso_code => 'admin::setting.index'];
                    }),
                    'icon'            => 'ion-gear-b',
                    'type'            => 'route',
                    'is_active'       => 1,
                    'active_resolver' => 'admin::setting.*',
                    'module'          => 'Setting',
                    'parameters'      => json_encode([])
                ]
            ],
        ]);
    }
Run the database seeds.

@return void