misaf / vendra-tagger
dev-master
2026-04-29 10:54 UTC
Requires
- php: ^8.2
- awcodes/filament-badgeable-column: ^4.0
- filament/filament: ^5.0
- filament/spatie-laravel-tags-plugin: ^5.0
- illuminate/support: ^11.0|^12.0
- lara-zeus/spatie-translatable: ^2.0
- misaf/vendra-tenant: ^12.0
- misaf/vendra-user: dev-master
- mokhosh/filament-jalali: 5.1
- spatie/eloquent-sortable: ^5.0
- spatie/laravel-package-tools: ^1.92
Requires (Dev)
- larastan/larastan: ^3.9.2
- laravel/boost: ^2.0.6
- laravel/pint: ^1.27
- misaf/vendra-testing: dev-master
- mockery/mockery: ^1.6.12
- nunomaduro/collision: ^8.8.3
- orchestra/testbench: ^10.9
- pestphp/pest: ^4.3.2
- pestphp/pest-plugin-arch: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- pestphp/pest-plugin-profanity: ^4.2.1
- pestphp/pest-plugin-type-coverage: ^4.0.3
This package is auto-updated.
Last update: 2026-04-29 10:55:04 UTC
README
Tenant-aware tag management for Vendra applications.
Features
- Manages tags in the
tagstable with tenant support - Renames Spatie
order_columntoposition - Filament resource on the
adminpanel
Requirements
- PHP 8.2+
- Laravel 12
- Filament 5
- Livewire 4
- Pest 4
- Tailwind CSS 4
filament/spatie-laravel-tags-pluginmisaf/vendra-tenantmisaf/vendra-user
Installation
composer require misaf/vendra-tagger php artisan vendor:publish --tag=tags-migrations php artisan migrate php artisan vendor:publish --tag=vendra-tagger-migrations php artisan migrate
Optional translations publish:
php artisan vendor:publish --tag=vendra-tagger-translations
The service provider and Filament plugin are auto-registered.
Usage
Create a tag:
use Misaf\VendraTagger\Models\Tagger; $tag = Tagger::query()->create([ 'name' => ['en' => 'Featured'], 'slug' => ['en' => 'featured'], 'type' => 'content', 'position' => 1, ]);
Load tags by type:
$tags = Tagger::query() ->where('type', 'content') ->orderBy('position') ->get();
Filament
Tag management is available from the admin panel under content management.
Testing
composer test
License
MIT. See LICENSE.