/home/kueuepay/public_html/database/seeders/Admin/SetupSeoSeeder.php
<?php

namespace Database\Seeders\Admin;

use App\Models\Admin\SetupSeo;
use Illuminate\Database\Seeder;

class SetupSeoSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $data = [
            'slug'          => "setup_seo",
            'title'         => "Maximize Online Visibility: Effective SEO Strategies for Higher Rankings, Increased Traffic, and Business Growth",
            'desc'          => "Mastering SEO: Unlock the Power of Search Engine Optimization to Enhance Your Website's Visibility, Drive Targeted Traffic, and Increase Engagement. Discover essential techniques like keyword research, on-page optimization, content strategy, and link-building. Stay ahead of the competition and boost your online presence with proven SEO best practices for growth.",
            'tags'          => ['SEO','Engine'],
            'last_edit_by'  => 1,
        ];

        SetupSeo::firstOrCreate($data);
    }
}
Error Handling

Error Handling

In case of an error, the API will return an error response containing a specific error code 400, 403 Failed and a user-friendly message. Refer to our API documentation for a comprehensive list of error codes and their descriptions.