br-resource-table
CommunityExpose CRUD endpoints for custom WP tables.
AuthorLonsdale201
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Create REST CRUD endpoints for a custom database table using Better Route's Resource API. Deny-by-default behavior is enforced and fields() must be defined for sourceTable resources.
Core Features & Use Cases
- Deny-by-default for all actions on table-source resources unless a policy is declared.
- Requires explicit fields() definitions for the sourceTable resources.
- Supports standard Resource API features: filters, sort, writeSchema, fieldPolicy, deleteMode, defaultPerPage, and custom repositories for derived tables.
- Use to expose WordPress database tables like wp_myapp_events in plugins/themes.
Quick Start
Define a new resource for your custom table and register it with your Better Route router to expose the endpoints.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: br-resource-table Download link: https://github.com/Lonsdale201/wp-agent-skills/archive/main.zip#br-resource-table Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.