murdercode/nova4-seo-description

A Laravel Nova SEO field for descriptions.

Installs: 3 065

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 1

Language:Vue

pkg:composer/murdercode/nova4-seo-description

v0.0.1 2022-04-14 19:02 UTC

This package is auto-updated.

Last update: 2025-10-15 02:53:48 UTC


README

Inspired to Nova 4 SeoTitle, but as TextArea field.

Setup

First install with:

$ composer require murdercode/nova4-seo-description

then add it in your Nova class:

<?php

use Murdercode\SeoDescription\SeoDescription;

public function fields(NovaRequest $request)
{
          $seoDescription = SeoDescription::make(__('Preview'), 'preview')->rangeLength(120, 155)
            ->rules(['required', 'min:20'])
            ->hideFromIndex()
            ->help(__('The description of the article.'));

}

Enjoy! 🙃