Download the PHP package slash-dw/tagging-kit without Composer
On this page you can find all versions of the php package slash-dw/tagging-kit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download slash-dw/tagging-kit
More information about slash-dw/tagging-kit
Files in slash-dw/tagging-kit
Package tagging-kit
Short Description SlashDw shared tagging infrastructure for Laravel projects (Spatie laravel-tags based, multi-tenant + multi-locale + config-driven)
License MIT
Informations about the package tagging-kit
slash-dw/tagging-kit
Generic tagging infrastructure for Laravel. Spatie laravel-tags based, multi-tenant + multi-locale + config-driven. Mixed system/user tag model.
Status
🚧 Active development — v0.0.x. Public API may change between minor versions. SemVer applies from v0.1.0.
This is a monorepo: the PHP backend lives at the root (Packagist:
slash-dw/tagging-kit) and the React frontend in js/ (npm:
@slash-dw/tagging-ui). See Frontend below.
Installation
Publish config (optional — defaults work out of the box):
Documentation
Detailed documentation is in progress. For now, see:
config/tagging-kit.php— all configuration options with inline commentssrc/Contracts/— public API interfaces (TagTypeContract,ActorContextContract,TenantContextContract,SharedTypesResolverContract)
Full README will be published with v0.1.0 (Faz 6).
Frontend — @slash-dw/tagging-ui
React/TypeScript companion in js/, published to npm as
@slash-dw/tagging-ui. Headless <TagAutocomplete> + hooks (debounce,
Fuse.js local-first, LRU cache, AbortController). Styling is host-owned via
data-tagging-* attributes + className.
Install
Bootstrap (once, at app entry)
Use the component
Public API
| Kind | Exports |
|---|---|
| Components | TagAutocomplete, TagChip, TagSuggestionItem |
| Hooks | useTagAutocomplete, useTaggingBootstrap, useDeleteUserTag |
| Config | configureTaggingUi, getTaggingConfig |
| Low-level API | suggestTags, deleteUserTag, fetchTaggingConfig |
| Types | Tag, TagAutocompleteProps, TaggingConfig, TaggingDefaults, … |
Config precedence (low → high): hardcoded → backend /tagging/config →
configureTaggingUi → per-component prop.
Develop the frontend
Development (backend)
Individual scripts:
composer format— Pint auto-formatcomposer lint— Pint check (no fix)composer analyse— PHPStan level 8 (no baseline)composer test— PHPUnit feature + unit + contract tests
License
MIT. See LICENSE.
Related packages
Part of the SlashDw kit ecosystem:
slash-dw/core-kit— Repository + API response helpersslash-dw/error-kit— Exception handlingslash-dw/filter-kit— Eloquent filter/sort DSLslash-dw/idempotency-kit— Per-route idempotency middlewareslash-dw/tagging-kit— This package (PHP backend)@slash-dw/tagging-ui— React frontend companion (NPM)
All versions of tagging-kit with dependencies
illuminate/contracts Version ^13.0
illuminate/database Version ^13.0
illuminate/http Version ^13.0
illuminate/support Version ^13.0
spatie/laravel-tags Version ^4.0
slash-dw/core-kit Version ^0.0.4
slash-dw/idempotency-kit Version ^0.0.2