src/Console/Commands/LoadTimezones.php
public function handle()
    {
        /** @var Keytype $keytype */
        $keytype = Keytype::create([
            'name'          => 'timezones',
            'description'   => 'Time Zones',
            'created_by'    => 'loader',
            'updated_by'    => 'loader',
        ]);

        // Get this in advance
        $count = 417;
        $bar   = $this->output->createProgressBar($count);

        $timezone_list = timezone_identifiers_list();

        foreach ($timezone_list as $timezone) {
            // Create the entry
            Keyvalue::create([
                'keytype_id'    => $keytype->id,
                'keyvalue'      => $timezone,
                'keyname'       => $timezone,
                'created_by'    => 'loader',
                'updated_by'    => 'loader',
            ]);

            // progress advance
            $bar->advance();
        }

        // Finished
        $bar->finish();
        $this->output->writeln('Finished');
    }
public function handle()
    {
        /** @var Keytype $keytype */
        $keytype = Keytype::create([
            'name'          => 'timezones',
            'description'   => 'Time Zones',
            'created_by'    => 'loader',
            'updated_by'    => 'loader',
        ]);

        // Get this in advance
        $count = 417;
        $bar   = $this->output->createProgressBar($count);

        $timezone_list = timezone_identifiers_list();

        foreach ($timezone_list as $timezone) {
            // Create the entry
            Keyvalue::create([
                'keytype_id'    => $keytype->id,
                'keyvalue'      => $timezone,
                'keyname'       => $timezone,
                'created_by'    => 'loader',
                'updated_by'    => 'loader',
            ]);

            // progress advance
            $bar->advance();
        }

        // Finished
        $bar->finish();
        $this->output->writeln('Finished');
    }
Execute the console command.

@return mixed