Skip to content

JasmineCMS/seo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seo

SEO package for Jasmine

Installation

composer require jasminecms/seo
then run
php artisan migrate

In your Page or breadable add the Seoable trait.

use Seoable;

In your fieldsManifest add

    public static function fieldsManifest(): FieldsManifest
    {
        return new FieldsManifest([
            'col-md-4'   => \JasmineSeo::fieldsBox() + [],
         ]);
    }

Before you return your view call JasmineSeo::build($seoableModel);

In your blade in the head section call {!! JasmineSeo::generate() !!}