jasminecms / seo
SEO package for Jasmine
Installs: 3 263
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- artesaos/seotools: ^1.0
- jasminecms/jasmine: ^2.2
README
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() !!}