Skip to content

Getting Started

iRaziul edited this page Mar 22, 2026 · 1 revision

Getting Started

Use this section to get SeoKit running in a Laravel app as quickly as possible.

Read in Order

  1. Requirements
  2. Installation
  3. Configuration

Standard Setup Flow

  1. Install larament/seokit with Composer.
  2. Run php artisan seokit:install.
  3. Add @seoKit inside your main <head> layout.
  4. Set metadata with the SeoKit facade.

Minimal Example

use Larament\SeoKit\Facades\SeoKit;

SeoKit::title('Welcome');
<head>
    @seoKit
</head>

Notes

  • You only need the package migration for the HasSeo trait.
  • If you only use the facade API or HasSeoData, database storage is optional.
  • Good APP_NAME and APP_URL values improve the default output immediately.

Clone this wiki locally