Файловый менеджер - Редактировать - /home/clickysoft/public_html/jmapi5.clickysoft.net/seeders.zip
Назад
PK ${�Z�X�] ] CompanySeeder.phpnu �[��� <?php namespace Database\Seeders; use App\Models\Company; use Illuminate\Database\Seeder; class CompanySeeder extends Seeder { const DATA = [ [ 'user_id' => 2, 'company_name' => 'clickysoft', 'contact_person_name' => 'Abbas', 'phone_number' => '+1(832)847-6000', 'location' => '1423 Ashen Flock CT Katy TX, 77494', 'description' => 'We are a team of highly-skilled IT service professionals that make smart business solutions for you. We have served hundreds of clients since our inception and do not intend to stop here. With a clientele from diverse sectors, we have helped hundreds of organizations scale themselves with effective software, eCommerce, SaaS, and marketing strategies.', 'website_url' => 'https://clickysoft.com/', 'company_size' => '50+', 'linkedin_profile_url' => 'https://www.linkedin.com/company/clicky-soft', 'is_pseb' => true, 'is_pasha' => true ], [ 'user_id' => 3, 'company_name' => 'art', 'contact_person_name' => 'Waqas', 'phone_number' => '+92213-2782272-3', 'location' => ' first floor, Sea Breeze Plaza, 103 Shahrah-e-Faisal Rd, Karachi Cantonment Fowler Lines, Karachi, Karachi City, Sindh 75300', 'description' => 'a company with less than 15 employees to one of the most prominent digital agencies in Pakistan, ART sure has come a long way. Starting off with a handful of people and two rooms almost a decade and a half ago, all we had was the hunger to prove ourselves and the dream of becoming what we are today!', 'website_url' => 'https://al-rehman.com/', 'company_size' => '50+', 'linkedin_profile_url' => 'https://www.linkedin.com/company/al-rehman-technologies', 'is_pseb' => true, 'is_pasha' => true ] ]; /** * Run the database seeds. */ public function run() { foreach (self::DATA as $companyData) { Company::create($companyData); } } } PK ${�Z��2Ɗ � UserTableSeeder.phpnu �[��� <?php namespace Database\Seeders; use App\Models\User; use Illuminate\Database\Seeder; class UserTableSeeder extends Seeder { const DATA = [ [ 'role_id' => 2, 'username' => 'demo company', 'email' => 'admin@admin.com', 'password' => '123', 'status' => 1 ], [ 'role_id' => 2, 'username' => 'clickysoft', 'email' => 'clickysoft@test.com', 'password' => '123', 'status' => 1 ], [ 'role_id' => 2, 'username' => 'art', 'email' => 'art@test.com', 'password' => '123', 'status' => 1 ] ]; /** * Run the database seeds. */ public function run(): void { foreach (self::DATA as $userData) { User::create($userData); } } } PK ${�Z.Bi� � IndustrySeeder.phpnu �[��� <?php namespace Database\Seeders; use App\Models\Industry; use Illuminate\Database\Seeder; class IndustrySeeder extends Seeder { const DATA = [ ['name' => 'Software Development'], ['name' => 'IT Consulting'], ['name' => 'Web Development'], ['name' => 'Mobile App Development'], ['name' => 'Cloud Computing'], ['name' => 'Cybersecurity'], ['name' => 'Data Science & Analytics'], ['name' => 'Artificial Intelligence (AI) & Machine Learning (ML)'], ['name' => 'DevOps & Infrastructure'], ['name' => 'E-commerce Solutions'], ['name' => 'Blockchain Technology'], ['name' => 'SaaS (Software as a Service)'], ['name' => 'IT Support & Services'], ['name' => 'UX/UI Design'], ['name' => 'Networking & Systems Administration'], ['name' => 'Game Development'], ['name' => 'FinTech (Financial Technology)'], ['name' => 'EdTech (Education Technology)'], ['name' => 'HealthTech (Healthcare Technology)'] ]; /** * Run the database seeds. */ public function run(): void { foreach (self::DATA as $industryData) { Industry::create($industryData); } } } PK ${�Z^y�0� � TechStackSeeder.phpnu �[��� <?php namespace Database\Seeders; use App\Models\TechStack; use Illuminate\Database\Seeder; class TechStackSeeder extends Seeder { const DATA = [ ['name' => 'JavaScript'], ['name' => 'Python'], ['name' => 'PHP'], ['name' => 'Java'], ['name' => 'Ruby'], ['name' => 'C#'], ['name' => 'C++'], ['name' => 'Swift'], ['name' => 'Kotlin'], ['name' => 'TypeScript'], ['name' => 'Go'], ['name' => 'Rust'], ['name' => 'HTML5'], ['name' => 'CSS3'], ['name' => 'React.js'], ['name' => 'Angular'], ['name' => 'Vue.js'], ['name' => 'Next.js'], ['name' => 'Node.js'], ['name' => 'Django'], ['name' => 'Laravel'], ['name' => 'Ruby on Rails'], ['name' => 'Flask'], ['name' => 'ASP.NET'], ['name' => 'React Native'], ['name' => 'Flutter'], ['name' => 'Swift (iOS)'], ['name' => 'Kotlin (Android)'], ['name' => 'Xamarin'], ['name' => 'Ionic'], ['name' => 'MySQL'], ['name' => 'PostgreSQL'], ['name' => 'MongoDB'], ['name' => 'Firebase'], ['name' => 'Microsoft SQL Server'], ['name' => 'Oracle'], ['name' => 'Redis'], ['name' => 'Elasticsearch'], ['name' => 'AWS (Amazon Web Services)'], ['name' => 'Microsoft Azure'], ['name' => 'Google Cloud Platform (GCP)'], ['name' => 'Docker'], ['name' => 'Kubernetes'], ['name' => 'Terraform'], ['name' => 'Jenkins'], ['name' => 'Ansible'], ['name' => 'CI/CD (Continuous Integration/Continuous Deployment)'], ['name' => 'Git'], ['name' => 'Bitbucket'], ['name' => 'TensorFlow'], ['name' => 'PyTorch'], ['name' => 'Keras'], ['name' => 'Scikit-Learn'], ['name' => 'OpenAI'], ['name' => 'NLTK (Natural Language Toolkit)'], ['name' => 'Solidity'], ['name' => 'Hyperledger'], ['name' => 'Smart Contracts'], ['name' => 'Truffle'], ['name' => 'WooCommerce'], ['name' => 'Shopify'], ['name' => 'Magento'], ['name' => 'WordPress'], ['name' => 'Drupal'], ['name' => 'Joomla'], ['name' => 'Penetration Testing'], ['name' => 'Network Security'], ['name' => 'Ethical Hacking'], ['name' => 'OWASP'], ['name' => 'SSL/TLS'], ['name' => 'RESTFULL APIs'], ['name' => 'GraphQL'], ['name' => 'SOAP'], ['name' => 'Selenium'], ['name' => 'JUnit'], ['name' => 'Mocha'], ['name' => 'Jest'], ['name' => 'Postman'], ['name' => 'Cypress'] ]; /** * Run the database seeds. */ public function run() { foreach (self::DATA as $techStackData) { TechStack::create($techStackData); } } } PK ${�Z+�5 5 CompanyIndustrySeeder.phpnu �[��� <?php namespace Database\Seeders; use App\Models\city; use App\Models\CompanyIndustry; use Illuminate\Database\Seeder; class CompanyIndustrySeeder extends Seeder { const DATA = [ [ 'user_id' => 2, 'company_id' => 1, 'industry_id' => 1 ], [ 'user_id' => 2, 'company_id' => 1, 'industry_id' => 2 ], [ 'user_id' => 2, 'company_id' => 1, 'industry_id' => 3 ], [ 'user_id' => 3, 'company_id' => 2, 'industry_id' => 1 ], [ 'user_id' => 3, 'company_id' => 2, 'industry_id' => 2 ], [ 'user_id' => 3, 'company_id' => 2, 'industry_id' => 4 ], ]; /** * Run the database seeds. */ public function run(): void { foreach (self::DATA as $companyIndustryData) { CompanyIndustry::create($companyIndustryData); } } } PK ${�Z+��}V V CompanyResourceSeeder.phpnu �[��� <?php namespace Database\Seeders; use App\Models\CompanyResource; use App\Models\TechStackable; use Illuminate\Database\Seeder; class CompanyResourceSeeder extends Seeder { const DATA = [ [ 'user_id' => 2, 'company_id' => 1, 'city_id' => 1, 'resource_title' => 'Mobile App Developer', 'years_of_experience' => '3', 'mobilization_time' => 'Immediate', 'availability_type' => 'Remote', 'availability_period' => 'Ongoing', 'rate_type' => 'Per Hour', 'rate' => '300', 'email' => 'ebad@test.com', 'phone_number' => '+912312312312', 'description' => 'asdasdakshdhaksdkjha sakjhdakjshdkjashdkjhaskjdhakjshdk', ], [ 'user_id' => 2, 'company_id' => 1, 'city_id' => 4, 'resource_title' => 'Mern Stack Developer', 'years_of_experience' => '1', 'mobilization_time' => 'Immediate', 'availability_type' => 'Hybrid', 'availability_period' => 'Ongoing', 'rate' => '500', 'rate_type' => 'Per Hour', 'email' => 'owais@test.com', 'phone_number' => '+912312312312', 'description' => 'jhaskjda mnzxcbxzmcb ueqiwueiqw jaskdjhaksjdhkjashdkjhasd' ], [ 'user_id' => 3, 'company_id' => 2, 'city_id' => 1, 'resource_title' => 'Laravel Developer', 'years_of_experience' => '5', 'mobilization_time' => 'Immediate', 'availability_type' => 'Onsite', 'availability_period' => 'Ongoing', 'rate' => '1200', 'rate_type' => 'Per Hour', 'email' => 'umair@test.com', 'phone_number' => '+912312312312', 'description' => 'asdasdasd zxcqwxnjjjsa askjdashjkdahsjdh asjdakjshdajsdh' ], [ 'user_id' => 3, 'company_id' => 2, 'city_id' => 4, 'resource_title' => 'Laravel Developer', 'years_of_experience' => '3', 'mobilization_time' => 'Immediate', 'availability_type' => 'Remote', 'availability_period' => 'Ongoing', 'rate' => '80k', 'rate_type' => 'Per Month', 'email' => 'rebal@test.com', 'phone_number' => '+912312312312', 'description' => 'asdasdasdsad asdasdsdas khkajskjaskashczxcbzxcbm anbqebwekqwhekjqh' ] ]; const SKILLS = [ 0 => [ [ 'user_id' => 2, 'company_id' => 1, 'tech_stack_id' => 1, 'tech_stackable_id' => 1, ], [ 'user_id' => 2, 'company_id' => 1, 'tech_stack_id' => 8, 'tech_stackable_id' => 1, ], [ 'user_id' => 2, 'company_id' => 1, 'tech_stack_id' => 9, 'tech_stackable_id' => 1, ] ], 1 => [ [ 'user_id' => 2, 'company_id' => 1, 'tech_stack_id' => 1, 'tech_stackable_id' => 2, ], [ 'user_id' => 2, 'company_id' => 1, 'tech_stack_id' => 10, 'tech_stackable_id' => 2, ], [ 'user_id' => 2, 'company_id' => 1, 'tech_stack_id' => 15, 'tech_stackable_id' => 2, ] ], 2 => [ [ 'user_id' => 3, 'company_id' => 2, 'tech_stack_id' => 1, 'tech_stackable_id' => 3, ], [ 'user_id' => 3, 'company_id' => 2, 'tech_stack_id' => 3, 'tech_stackable_id' => 3, ], [ 'user_id' => 3, 'company_id' => 2, 'tech_stack_id' => 15, 'tech_stackable_id' => 3, ] ], 3 => [ [ 'user_id' => 3, 'company_id' => 2, 'tech_stack_id' => 1, 'tech_stackable_id' => 4, ], [ 'user_id' => 3, 'company_id' => 2, 'tech_stack_id' => 3, 'tech_stackable_id' => 4, ], [ 'user_id' => 3, 'company_id' => 2, 'tech_stack_id' => 15, 'tech_stackable_id' => 4, ] ] ]; /** * Run the database seeds. */ public function run() { foreach (self::DATA as $key => $resourceData) { CompanyResource::create($resourceData); foreach (self::SKILLS[$key] as $skillData) { $skillData['tech_stackable_type'] = CompanyResource::class; TechStackable::create($skillData); } } } } PK ${�Z��m> > DatabaseSeeder.phpnu �[��� <?php namespace Database\Seeders; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. */ public function run(): void { $this->call(RolesTableSeeder::class); $this->call(UserTableSeeder::class); $this->call(CitySeeder::class); $this->call(TechStackSeeder::class); $this->call(CompanySeeder::class); $this->call(CompanyResourceSeeder::class); $this->call(IndustrySeeder::class); $this->call(CompanyIndustrySeeder::class); } } PK ${�Zu�� � RolesTableSeeder.phpnu �[��� <?php namespace Database\Seeders; use App\Models\Role; use Illuminate\Database\Seeder; class RolesTableSeeder extends Seeder { const DATA = [ ['name' => 'admin'], ['name' => 'company'] ]; /** * Run the database seeds. */ public function run() { foreach (self::DATA as $role) { Role::create($role); } } } PK ${�Z��O� CitySeeder.phpnu �[��� <?php namespace Database\Seeders; use App\Models\city; use Illuminate\Database\Seeder; class CitySeeder extends Seeder { const DATA = [ ['name' => 'Karachi'], ['name' => 'Hyderabad'], ['name' => 'Lahore'], ['name' => 'Islamabad'], ['name' => 'Rawalpindi'], ['name' => 'Quetta'], ['name' => 'Peshawar'], ['name' => 'Multan'], ['name' => 'Faisalabad'], ['name' => 'Sialkot'], ['name' => 'Gujranwala'], ['name' => 'Sukkur'], ['name' => 'Bahawalpur'], ['name' => 'Sargodha'], ['name' => 'Jhelum'], ['name' => 'Sheikhupura'], ['name' => 'Mardan'], ['name' => 'Nawabshah'], ['name' => 'Mirpur Khas'], ['name' => 'Dera Ghazi Khan'], ['name' => 'Abottabad'], ['name' => 'Mingora'], ['name' => 'Dera Ismail Khan'], ['name' => 'Muzaffarabad'], ['name' => 'Vehari'], ['name' => 'Okara'], ['name' => 'Chiniot'], ['name' => 'Attock'], ['name' => 'Tando Allahyar'], ['name' => 'Gojra'] ]; /** * Run the database seeds. */ public function run(): void { foreach (self::DATA as $cityData) { city::create($cityData); } } } PK ${�Z�X�] ] CompanySeeder.phpnu �[��� PK ${�Z��2Ɗ � � UserTableSeeder.phpnu �[��� PK ${�Z.Bi� � k IndustrySeeder.phpnu �[��� PK ${�Z^y�0� � � TechStackSeeder.phpnu �[��� PK ${�Z+�5 5 q CompanyIndustrySeeder.phpnu �[��� PK ${�Z+��}V V �! CompanyResourceSeeder.phpnu �[��� PK ${�Z��m> > �6 DatabaseSeeder.phpnu �[��� PK ${�Zu�� � 9 RolesTableSeeder.phpnu �[��� PK ${�Z��O� �: CitySeeder.phpnu �[��� PK � 0@
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка