SEO package for Jasmine
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() !!}