murdercode/seo-title

A Laravel Nova field.

Downloads

2829

Stars

2

Version

v0.0.3

Laravel Nova 4 SeoTitle

This is a text field (formerly called SeoTitle) which calculates a min/max length of your text and helps you to make it better for SEO.

Alt Text

Setup

First install with:

$ composer require murdercode/seo-title

then add it in your Nova class:

<?php

use Murdercode\SeoTitle\SeoTitle;

public function fields(NovaRequest $request)
{
  SeoTitle::make(__('Title'), 'title')
        ->rangeLength(30, 60)
        ->hideIcon() // For hide the SEO icon
        ->rules('required', 'max:255', 'min:3');
}

Enjoy! 🙃

murdercode

Author

murdercode