parsaaghayi-backend/database/seeders/ServiceSeeder.php
2024-10-13 20:16:08 +03:30

48 lines
1.9 KiB
PHP

<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use App\Models\Service;
class ServiceSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run()
{
$services = [
[
'title' => 'Custom Web Development',
'description' => 'We create tailored web applications that meet your unique business requirements, utilizing the latest technologies for optimal performance.',
'imageSrc' => '/images/ui-ux-vector.svg',
'altText' => 'Custom Web Development Vector',
],
[
'title' => 'Frontend Development',
'description' => 'Our frontend development services focus on crafting engaging, responsive user interfaces that enhance user experience across all devices.',
'imageSrc' => '/images/web-design-vector.svg',
'altText' => 'Frontend Development Vector',
],
[
'title' => 'Backend Development',
'description' => 'We provide reliable backend development solutions, building robust server-side architectures and APIs to ensure smooth and secure application functionality.',
'imageSrc' => '/images/app-design-vector.svg',
'altText' => 'Backend Development Vector',
],
[
'title' => 'Website Maintenance and Support',
'description' => 'Our ongoing maintenance and support services keep your website updated, secure, and performing at its best, allowing you to focus on your core business.',
'imageSrc' => '/images/graphic-design-vector.svg',
'altText' => 'Website Maintenance and Support Vector',
],
];
foreach ($services as $service) {
Service::create($service);
}
}
}