Tags
Package docs status
Section titled “Package docs status”This page is generated from public package documentation in capell-4/packages and the package manifest checked into the source repository.
| Field | Value |
|---|---|
| Composer package | capell-app/tags |
| Package slug | tags |
| Product group | Capell Foundation |
| Tier | free |
| Bundle | foundation |
| Runtime contexts | admin, console |
| Capell version | ^4.0 |
| 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.
Shared multilingual tagging and taxonomy for Capell: site-scoped tags, polymorphic taggable relationships, and a reusable Filament tags input for Blog, Events, and other content packages.
After install, admins get package-owned management or reporting surfaces inside Capell.
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 package gives developers package-owned service providers, Actions, Data objects, models, and Filament classes instead of pushing this behaviour into core or application code.
For teams: One shared, multilingual, multi-site taxonomy for every Capell content type - tag articles, pages, and events from a single managed tag list with reusable tag inputs and per-site scoping.
Screens And Workflow
Section titled “Screens And Workflow”Screenshot contract: docs/screenshots.json.
- Tags admin index (admin, required).
- Create/edit tag form (admin, required).
- Tag relation manager showing tagged pages (admin, required).
- Article or page form using TagsInput (admin, optional).
Technical Shape
Section titled “Technical Shape”- Service providers:
Capell\Tags\Providers\ConsoleServiceProvider,Capell\Tags\Providers\TagsServiceProvider,Capell\Tags\Providers\AdminServiceProvider. - Migrations:
packages/tags/database/migrations/2026_05_10_190872_01_alter_tags_table.php,packages/tags/database/migrations/2026_06_04_000001_add_type_site_id_index_to_tags_table.php. - Models:
HasTags,Tag,Taggable. - Filament classes:
TagsInput,CreateTag,EditTag,ListTags,PagesRelationManager,TagForm,TagsTable,TagResource. - Policies:
TagPolicy. - Actions:
BuildTagCloudAction,FindRelatedTaggablesAction,InstallTagsPackageAction,MergeTagsAction. - Data objects:
RelatedTaggableData,TagCloudItemData. - Command signatures:
capell:tags-install. - Console command classes:
InstallCommand. - Manifest contributions:
admin-resource: Capell\Tags\Manifest\TagResourceContribution,console-command: Capell\Tags\Manifest\TagsConsoleCommandsContribution,health-check: Capell\Tags\Health\TagsHealthCheck,migration: Capell\Tags\Manifest\TagsMigrationsContribution,model: Capell\Tags\Manifest\TagsModelsContribution. - Health checks:
Capell\Tags\Health\TagsHealthCheck. - Cache tags:
tags.
Data Model
Section titled “Data Model”- Required tables:
tags,taggables. - Models:
HasTags,Tag,Taggable. - Migration files:
2026_05_10_190872_01_alter_tags_table.php,2026_06_04_000001_add_type_site_id_index_to_tags_table.php. - Migration impact: run host migrations through the package install flow before opening package surfaces.
- Deletion/retention behaviour: Docs gap unless the package has an explicit pruning command, retention setting, or tested cascade path.
Install Impact
Section titled “Install Impact”- Admin navigation: adds package-owned Filament classes when registered.
- Permissions: none declared in
capell.json. - Public routes: none detected in package route files.
- Database changes: package migrations are declared.
- Settings: no package settings declared.
- Queues or schedules: none detected in standard package paths.
- Cache tags:
tags. - Commands:
capell:tags-install.
Common Pitfalls
Section titled “Common Pitfalls”- Run migrations before opening package resources or public routes.
- Run package commands from the host app; in this repository use
vendor/bin/pestfor package tests. - Keep
composer.json,composer.local.json,capell.json, docs, screenshots, and tests aligned when the package surface changes.
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 |
| Background work does not run | Queue worker or scheduled command is not active | Check package jobs, commands, and host scheduler configuration | Start the queue or scheduler, then run the focused command or package test |
Quick Start
Section titled “Quick Start”- Install the package:
composer require capell-app/tags. - Run the required setup:
php artisan capell:tags-install. - Open the related Capell admin surface and verify Tags appears.
Next Steps
Section titled “Next Steps”- Package docs
- Overview
- Screenshot contract
- Marketplace assets
- Capell content language plan
- Capell documentation design system
- Capell and package ERD notes
- Related packages: Navigation, Publishing Studio.
- Focused tests:
vendor/bin/pest packages/tags/tests --configuration=phpunit.xml.