ibecsystems / admin-kit-seo
SEO package for Admin Kit
v3.2.0
2024-03-19 08:50 UTC
Requires
- php: ^8.1
- filament/filament: ^3.0-stable
- ibecsystems/admin-kit-core: ^3.1
- joshembling/image-optimizer: ^1.4
- spatie/laravel-translatable: ^6.5
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
README
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.