murdercode / seo-title
A Laravel Nova field.
v0.0.3
2024-02-23 16:47 UTC
Requires
- php: ^7.3|^8.0
This package is auto-updated.
Last update: 2026-03-23 21:33:08 UTC
README
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-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! 🙃