Tags
Package docs status
Section titled “Package docs status”This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.
| Field | Value |
|---|---|
| Composer package | capell-app/tags |
| Package slug | tags |
| Product group | Capell Foundation |
| Tier | free |
| Bundle | foundation |
| Runtime contexts | admin, console |
| Capell version | ^1.0 |
| Catalogue role | extension |
| Release channel | Beta |
| Source repository | capell-app/packages |
| Source path | packages/tags |
| Docs source | packages/tags/docs |
| Manifest | capell.json |
What This Plugin Adds
Section titled “What This Plugin Adds”Tags is an Available, Schema-owning Capell package in the Capell Foundation product group. It ships as capell-app/tags and extends these surfaces: admin, console.
Tags adds site-scoped, multilingual taxonomy records and polymorphic tag assignments for pages and package-owned content.
Admins create and edit tags, assign them to supported content, inspect usage, and merge duplicates from the Tags resource and page actions.
Status details:
- Status: Available
- Tier: free
- Bundle: foundation
- Composer package:
capell-app/tags - Namespace:
Capell\Tags - Theme key: not applicable
Why It Matters
Section titled “Why It Matters”For developers: The HasTags concern and focused Actions give content packages a shared taxonomy boundary without duplicating pivot models or assignment logic.
For teams: Editors can group content consistently and merge duplicate labels before the taxonomy becomes difficult to browse or filter.
Screens And Workflow
Section titled “Screens And Workflow”Screenshot contract: docs/screenshots.json.




- Tags admin index (admin, required authentic evidence).
- Create/edit tag form (admin, required evidence).
- Tag relation manager showing tagged pages (admin, supplementary evidence).
- Article or page form using TagsInput (admin, supplementary evidence).
Technical Shape
Section titled “Technical Shape”Service providers
Section titled “Service providers”Capell\Tags\Providers\ConsoleServiceProviderCapell\Tags\Providers\TagsServiceProviderCapell\Tags\Providers\AdminServiceProvider
Migrations
Section titled “Migrations”packages/tags/database/migrations/2026_05_10_190872_01_alter_tags_table.phppackages/tags/database/migrations/2026_06_04_000001_add_type_site_id_index_to_tags_table.phppackages/tags/database/migrations/2026_07_10_000001_add_merged_slug_aliases_to_tags_table.phppackages/tags/database/migrations/2026_08_15_000001_add_status_to_tags_table.php
Models
Section titled “Models”HasTagsTagTaggable
Filament classes
Section titled “Filament classes”ManagePageTagsBulkActionTagsInputPageTagsPageTableExtenderCreateTagEditTagListTagsPagesRelationManagerTagFormTagsTableTagResource
Policies
Section titled “Policies”TagPolicy
Actions
Section titled “Actions”BuildMergedTagAliasesActionBuildTagCloudActionBuildTagUsageActionFindRelatedTaggablesActionInstallTagsPackageActionManagePageTagsActionMergeTagsActionPreviewTagMergeActionResolveTagBySlugAction
Data objects
Section titled “Data objects”RelatedTaggableDataResolvedTagSlugDataTagCloudItemDataTagMergePreviewDataTagUsageGroupData
Command signatures
Section titled “Command signatures”capell:tags-install
Manifest action API
Section titled “Manifest action API”buildTagCloud: Capell\Tags\Actions\BuildTagCloudActionfindRelatedTaggables: Capell\Tags\Actions\FindRelatedTaggablesActioninstall: Capell\Tags\Actions\InstallTagsPackageActionmanagePageTags: Capell\Tags\Actions\ManagePageTagsActionmergeTags: Capell\Tags\Actions\MergeTagsActionresolveTagBySlug: Capell\Tags\Actions\ResolveTagBySlugAction
Console command classes
Section titled “Console command classes”InstallCommand
Manifest contributions
Section titled “Manifest contributions”admin-resource: Capell\Tags\Manifest\TagResourceContributionconsole-command: Capell\Tags\Manifest\TagsConsoleCommandsContributionhealth-check: Capell\Tags\Health\TagsHealthCheckmigration: Capell\Tags\Manifest\TagsMigrationsContributionmodel: Capell\Tags\Manifest\TagsModelsContribution
Health checks
Section titled “Health checks”Capell\Tags\Health\TagsHealthCheck
Blade views
Section titled “Blade views”packages/tags/resources/views/admin/merge-preview.blade.phppackages/tags/resources/views/admin/usage.blade.php
Cache tags
Section titled “Cache tags”tags
Data Model
Section titled “Data Model”- Required tables:
tags,taggables. - Models:
HasTags,Tag,Taggable. - Core record references in migrations:
sites via site_id. - Migration files:
2026_05_10_190872_01_alter_tags_table.php,2026_06_04_000001_add_type_site_id_index_to_tags_table.php,2026_07_10_000001_add_merged_slug_aliases_to_tags_table.php,2026_08_15_000001_add_status_to_tags_table.php. - Migration impact: run host migrations through the package install flow before opening package surfaces.
- Deletion/retention behaviour: migrations declare null-on-delete relationships; no timed pruning or retention schedule is declared in
capell.json.
Install Impact
Section titled “Install Impact”- Required packages:
capell-app/admin,capell-app/core,capell-app/navigation. - Admin navigation: declares
admin-resource: TagResourceContribution; each Filament page or resource controls its own navigation visibility. - Admin/editor extensions: none declared.
- Permissions:
ViewAny:Tag,View:Tag,Create:Tag,Update:Tag,Delete:Tag,DeleteAny:Tag,Restore:Tag,RestoreAny:Tag,ForceDelete:Tag,ForceDeleteAny:Tag,Replicate:Tag,Reorder:Tag; access also governed by package policies:TagPolicy. - Public routes: none declared.
- Database changes: package migrations are declared.
- Config: no package config files.
- Settings: no package settings declared.
- Queues or schedules: none declared.
- Cache tags:
tags. - Commands:
capell:tags-install.
Common Pitfalls
Section titled “Common Pitfalls”- Keep required Capell packages on compatible v4 releases:
capell-app/admin,capell-app/core,capell-app/navigation. - Run migrations before opening package resources or public routes.
- Custom write integrations must preserve invalidation for
tagscache tags.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| Package surface is missing after install | Provider or manifest is not loaded | Confirm capell.json, package composer.json, and provider registration | Reinstall the package, refresh Composer autoload, and clear host caches |
| Admin screen or command fails on missing table | Package migrations have not run | Check the tables listed in Data Model | Run host migrations and rerun the focused package test |
Quick Start
Section titled “Quick Start”- Install the package:
composer require capell-app/tags. - Run the package setup:
php artisan capell:tags-install. - Open the package admin surface at
/admin/tagsand confirm Tags is available.