Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Agents
lyre/facet
claude-code
cursor
php
media
file
library
github
Simple
crud
files
content
laravel
pages
Relationships
resources
facet
categorization
open source
sections
facets
laravel 10
laravel 11
laravel 12
lyre

lyre/facet provides reusable taxonomy tagging via facets, facet values, and polymorphic faceted entity links, including hierarchy endpoints.

Install
php artisan boost:add-skill lyre/facet

Save this content to: AGENTS.md

# `lyre/facet` Agent Guide

## Package Purpose
`lyre/facet` provides reusable taxonomy tagging via facets, facet values, and polymorphic faceted entity links, including hierarchy endpoints.

## What Belongs In This Package
- Facet taxonomy models (`Facet`, `FacetValue`, `FacetedEntity`).
- Facet hierarchy API behavior and repository logic.
- `HasFacet` concern and model tagging helpers.

## What Does Not Belong Here
- Content page structure logic (`lyre/content`).
- Media/file handling (`lyre/file`).

## Public API / Stable Contracts
- `api/facets`, `api/facetvalues`, and hierarchy endpoints.
- `HasFacet` relation names/behavior (`facetValues`, `facetedEntities`, `attachFacetValues`).

## Internal Areas That May Change
- Internal hierarchy query implementation preserving endpoint contract.

## Usage Rules
- Use this package for category/tag style classification across domains.
- Keep relation naming stable to avoid breaking query filters and dynamic data loaders.

## Extension Rules
- Add taxonomy-specific capabilities here, not in domain packages.
- Preserve existing hierarchy response shape if extending hierarchy endpoints.
- Keep `attachFacetValues` semantics explicit (replace-all behavior).

## Testing Requirements
- Validate hierarchy endpoints for root and child queries.
- Validate relation filters against faceted models.

## Docs To Update When This Package Changes
- Root [AGENTS.md](/Users/chegekigathi/Projects/packages/lyre-packages/AGENTS.md)
- [docs/package-responsibilities.md](/Users/chegekigathi/Projects/packages/lyre-packages/docs/package-responsibilities.md)
- `packages/facet/README.md`

lyre/facet Agent Guide

Package Purpose

lyre/facet provides reusable taxonomy tagging via facets, facet values, and polymorphic faceted entity links, including hierarchy endpoints.

What Belongs In This Package

  • Facet taxonomy models (Facet, FacetValue, FacetedEntity).
  • Facet hierarchy API behavior and repository logic.
  • HasFacet concern and model tagging helpers.

What Does Not Belong Here

  • Content page structure logic (lyre/content).
  • Media/file handling (lyre/file).

Public API / Stable Contracts

  • api/facets, api/facetvalues, and hierarchy endpoints.
  • HasFacet relation names/behavior (facetValues, facetedEntities, attachFacetValues).

Internal Areas That May Change

  • Internal hierarchy query implementation preserving endpoint contract.

Usage Rules

  • Use this package for category/tag style classification across domains.
  • Keep relation naming stable to avoid breaking query filters and dynamic data loaders.

Extension Rules

  • Add taxonomy-specific capabilities here, not in domain packages.
  • Preserve existing hierarchy response shape if extending hierarchy endpoints.
  • Keep attachFacetValues semantics explicit (replace-all behavior).

Testing Requirements

  • Validate hierarchy endpoints for root and child queries.
  • Validate relation filters against faceted models.

Docs To Update When This Package Changes

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel