Skip to content

Instantly share code, notes, and snippets.

@SoldierCorp
Last active May 24, 2021 08:48
Show Gist options
  • Save SoldierCorp/8390b4b836b34082aed2 to your computer and use it in GitHub Desktop.
Save SoldierCorp/8390b4b836b34082aed2 to your computer and use it in GitHub Desktop.
Laravel Industries Table Seeder of LinkedIn API
<?php
use Illuminate\Database\Seeder;
use App\Industry;
class IndustryTableSeeder extends Seeder {
public function run()
{
DB::table('industries')->truncate();
Industry::create(['code' => '47', 'name' => 'Accounting']);
Industry::create(['code' => '94', 'name' => 'Airlines/Aviation']);
Industry::create(['code' => '120', 'name' => 'Alternative Dispute Resolution']);
Industry::create(['code' => '125', 'name' => 'Alternative Medicine']);
Industry::create(['code' => '127', 'name' => 'Animation']);
Industry::create(['code' => '19', 'name' => 'Apparel & Fashion']);
Industry::create(['code' => '50', 'name' => 'Architecture & Planning']);
Industry::create(['code' => '111','name' => 'Arts and Crafts']);
Industry::create(['code' => '53', 'name' => 'Automotive']);
Industry::create(['code' => '52', 'name' => 'Aviation & Aerospace']);
Industry::create(['code' => '41', 'name' => 'Banking']);
Industry::create(['code' => '12', 'name' => 'Biotechnology']);
Industry::create(['code' => '36', 'name' => 'Broadcast Media']);
Industry::create(['code' => '49', 'name' => 'Building Materials']);
Industry::create(['code' => '138', 'name' => 'Business Supplies and Equipment']);
Industry::create(['code' => '129', 'name' => 'Capital Markets']);
Industry::create(['code' => '54', 'name' => 'Chemicals']);
Industry::create(['code' => '90', 'name' => 'Civic & Social Organization']);
Industry::create(['code' => '51', 'name' => 'Civil Engineering']);
Industry::create(['code' => '128', 'name' => 'Commercial Real Estate']);
Industry::create(['code' => '118', 'name' => 'Computer & Network Security']);
Industry::create(['code' => '109', 'name' => 'Computer Games']);
Industry::create(['code' => '3', 'name' => 'Computer Hardware']);
Industry::create(['code' => '5', 'name' => 'Computer Networking']);
Industry::create(['code' => '4', 'name' => 'Computer Software']);
Industry::create(['code' => '48', 'name' => 'Construction']);
Industry::create(['code' => '24', 'name' => 'Consumer Electronics']);
Industry::create(['code' => '25', 'name' => 'Consumer Goods']);
Industry::create(['code' => '91', 'name' => 'Consumer Services']);
Industry::create(['code' => '18', 'name' => 'Cosmetics']);
Industry::create(['code' => '65', 'name' => 'Dairy']);
Industry::create(['code' => '1', 'name' => 'Defense & Space']);
Industry::create(['code' => '99', 'name' => 'Design']);
Industry::create(['code' => '69', 'name' => 'Education Management']);
Industry::create(['code' => '132', 'name' => 'E-Learning']);
Industry::create(['code' => '112', 'name' => 'Electrical/Electronic Manufacturing']);
Industry::create(['code' => '28', 'name' => 'Entertainment']);
Industry::create(['code' => '86', 'name' => 'Environmental Services']);
Industry::create(['code' => '110', 'name' => 'Events Services']);
Industry::create(['code' => '76', 'name' => 'Executive Office']);
Industry::create(['code' => '122', 'name' => 'Facilities Services']);
Industry::create(['code' => '63', 'name' => 'Farming']);
Industry::create(['code' => '43', 'name' => 'Financial Services']);
Industry::create(['code' => '38', 'name' => 'Fine Art']);
Industry::create(['code' => '66', 'name' => 'Fishery']);
Industry::create(['code' => '34', 'name' => 'Food & Beverages']);
Industry::create(['code' => '23', 'name' => 'Food Production']);
Industry::create(['code' => '101', 'name' => 'Fund-Raising']);
Industry::create(['code' => '26', 'name' => 'Furniture']);
Industry::create(['code' => '29', 'name' => 'Gambling & Casinos']);
Industry::create(['code' => '145', 'name' => 'Glass, Ceramics & Concrete']);
Industry::create(['code' => '75', 'name' => 'Government Administration']);
Industry::create(['code' => '148', 'name' => 'Government Relations']);
Industry::create(['code' => '140', 'name' => 'Graphic Design']);
Industry::create(['code' => '124', 'name' => 'Health, Wellness and Fitness']);
Industry::create(['code' => '68', 'name' => 'Higher Education']);
Industry::create(['code' => '14', 'name' => 'Hospital & Health Care']);
Industry::create(['code' => '31', 'name' => 'Hospitality']);
Industry::create(['code' => '137', 'name' => 'Human Resources']);
Industry::create(['code' => '134', 'name' => 'Import and Export']);
Industry::create(['code' => '88', 'name' => 'Individual & Family Services']);
Industry::create(['code' => '147', 'name' => 'Industrial Automation']);
Industry::create(['code' => '84', 'name' => 'Information Services']);
Industry::create(['code' => '96', 'name' => 'Information Technology and Services']);
Industry::create(['code' => '42', 'name' => 'Insurance']);
Industry::create(['code' => '74', 'name' => 'International Affairs']);
Industry::create(['code' => '141', 'name' => 'International Trade and Development']);
Industry::create(['code' => '6', 'name' => 'Internet']);
Industry::create(['code' => '45', 'name' => 'Investment Banking']);
Industry::create(['code' => '46', 'name' => 'Investment Management']);
Industry::create(['code' => '73', 'name' => 'Judiciary']);
Industry::create(['code' => '77', 'name' => 'Law Enforcement']);
Industry::create(['code' => '9', 'name' => 'Law Practice']);
Industry::create(['code' => '10', 'name' => 'Legal Services']);
Industry::create(['code' => '72', 'name' => 'Legislative Office']);
Industry::create(['code' => '30', 'name' => 'Leisure, Travel & Tourism']);
Industry::create(['code' => '85', 'name' => 'Libraries']);
Industry::create(['code' => '116', 'name' => 'Logistics and Supply Chain']);
Industry::create(['code' => '143', 'name' => 'Luxury Goods & Jewelry']);
Industry::create(['code' => '55', 'name' => 'Machinery']);
Industry::create(['code' => '11', 'name' => 'Management Consulting']);
Industry::create(['code' => '95', 'name' => 'Maritime']);
Industry::create(['code' => '97', 'name' => 'Market Research']);
Industry::create(['code' => '80', 'name' => 'Marketing and Advertising']);
Industry::create(['code' => '135', 'name' => 'Mechanical or Industrial Engineering']);
Industry::create(['code' => '126', 'name' => 'Media Production']);
Industry::create(['code' => '17', 'name' => 'Medical Devices']);
Industry::create(['code' => '13', 'name' => 'Medical Practice']);
Industry::create(['code' => '139', 'name' => 'Mental Health Care']);
Industry::create(['code' => '71', 'name' => 'Military']);
Industry::create(['code' => '56', 'name' => 'Mining & Metals']);
Industry::create(['code' => '35', 'name' => 'Motion Pictures and Film']);
Industry::create(['code' => '37', 'name' => 'Museums and Institutions']);
Industry::create(['code' => '115', 'name' => 'Music']);
Industry::create(['code' => '114', 'name' => 'Nanotechnology']);
Industry::create(['code' => '81', 'name' => 'Newspapers']);
Industry::create(['code' => '100', 'name' => 'Non-Profit Organization Management']);
Industry::create(['code' => '57', 'name' => 'Oil & Energy']);
Industry::create(['code' => '113', 'name' => 'Online Media']);
Industry::create(['code' => '123', 'name' => 'Outsourcing/Offshoring']);
Industry::create(['code' => '87', 'name' => 'Package/Freight Delivery']);
Industry::create(['code' => '146', 'name' => 'Packaging and Containers']);
Industry::create(['code' => '61', 'name' => 'Paper & Forest Products']);
Industry::create(['code' => '39', 'name' => 'Performing Arts']);
Industry::create(['code' => '15', 'name' => 'Pharmaceuticals']);
Industry::create(['code' => '131', 'name' => 'Philanthropy']);
Industry::create(['code' => '136', 'name' => 'Photography']);
Industry::create(['code' => '117', 'name' => 'Plastics']);
Industry::create(['code' => '107', 'name' => 'Political Organization']);
Industry::create(['code' => '67', 'name' => 'Primary/Secondary Education']);
Industry::create(['code' => '83', 'name' => 'Printing']);
Industry::create(['code' => '105', 'name' => 'Professional Training & Coaching']);
Industry::create(['code' => '102', 'name' => 'Program Development']);
Industry::create(['code' => '79', 'name' => 'Public Policy']);
Industry::create(['code' => '98', 'name' => 'Public Relations and Communications']);
Industry::create(['code' => '78', 'name' => 'Public Safety']);
Industry::create(['code' => '82', 'name' => 'Publishing']);
Industry::create(['code' => '62', 'name' => 'Railroad Manufacture']);
Industry::create(['code' => '64', 'name' => 'Ranching']);
Industry::create(['code' => '44', 'name' => 'Real Estate']);
Industry::create(['code' => '40', 'name' => 'Recreational Facilities and Services']);
Industry::create(['code' => '89', 'name' => 'Religious Institutions']);
Industry::create(['code' => '144', 'name' => 'Renewables & Environment']);
Industry::create(['code' => '70', 'name' => 'Research']);
Industry::create(['code' => '32', 'name' => 'Restaurants']);
Industry::create(['code' => '27', 'name' => 'Retail']);
Industry::create(['code' => '121', 'name' => 'Security and Investigations']);
Industry::create(['code' => '7', 'name' => 'Semiconductors']);
Industry::create(['code' => '58', 'name' => 'Shipbuilding']);
Industry::create(['code' => '20', 'name' => 'Sporting Goods']);
Industry::create(['code' => '33', 'name' => 'Sports']);
Industry::create(['code' => '104', 'name' => 'Staffing and Recruiting']);
Industry::create(['code' => '22', 'name' => 'Supermarkets']);
Industry::create(['code' => '8', 'name' => 'Telecommunications']);
Industry::create(['code' => '60', 'name' => 'Textiles']);
Industry::create(['code' => '130', 'name' => 'Think Tanks']);
Industry::create(['code' => '21', 'name' => 'Tobacco']);
Industry::create(['code' => '108', 'name' => 'Translation and Localization']);
Industry::create(['code' => '92', 'name' => 'Transportation/Trucking/Railroad']);
Industry::create(['code' => '59', 'name' => 'Utilities']);
Industry::create(['code' => '106', 'name' => 'Venture Capital & Private Equity']);
Industry::create(['code' => '16', 'name' => 'Veterinary']);
Industry::create(['code' => '93', 'name' => 'Warehousing']);
Industry::create(['code' => '133', 'name' => 'Wholesale']);
Industry::create(['code' => '142', 'name' => 'Wine and Spirits']);
Industry::create(['code' => '119', 'name' => 'Wireless']);
Industry::create(['code' => '103', 'name' => 'Writing and Editing']);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment