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.
Setup
First install with:
$ composer require murdercode/seo-titlethen 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! 🙃
