ibecsystems/admin-kit-seo

SEO package for Admin Kit

Downloads

333

Stars

0

Version

v3.2.0

SEO package for Admin Kit

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Installation

You can install the package via composer:

composer require ibecsystems/admin-kit-seo

You can publish and run the migrations with:

php artisan vendor:publish --tag="admin-kit-seo-migrations"
php artisan migrate

Usage

The Eloquent Model you're editing uses the HasSEO trait:

use AdminKit\SEO\Traits\HasSEO;

class Post extends AbstractModel
{
    use HasSEO;
}

And you can use SEOComponent to Filament Resource or other forms:

use Filament\Resources\Form;
use AdminKit\SEO\Forms\Components\SEOComponent;

class ArticleResource extends Resource
{
    // ...
    public static function form(Form $form): Form
    {
        return $form->schema([
            // Your other fields ...
            SEOComponent::make(),
        ]);
    }
    // ...
}

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

IBEC-BOX

Author

IBEC-BOX