murdercode / seo-title
A Laravel Nova field.
Installs: 3 123
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 1
Language:Vue
Requires
- php: ^7.3|^8.0
This package is auto-updated.
Last update: 2024-10-23 18:17:38 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! 🙃