Create CRUD endpoints over a custom post type via better-route's Resource API — Resource::make('books')->sourceCpt( 'book')->fields([...])->register($router) generates list / get / create / update / delete routes automatically. Important — the source-verified visibility method is ->cptVisibleStatuses(['publish', 'draft']) (the agents.md doc lists ->allowedStatuses but the code at src/Resource/Resource.php:235 is named cptVisibleStatuses; same semantics, different name). Other Resource builder methods — restNamespace, fields, filters, sort, policy, writeSchema (alias payloadSchema), fieldPolicy, deleteMode ('force' or 'trash'), defaultPerPage, maxPerPage, maxOffset, uniformEnvelope, cptVisibilityPolicy, filterSchema. Use when generating CRUD over a CPT. Triggers on Resource::make, ->sourceCpt, "REST CRUD over post type" with better-route.
「日常、旅行、娯楽」の作業に使います。公開者の説明: Create CRUD endpoints over a custom post type via better-route's Resource API — Resource::make('books')->sourceCpt( 'book')->fields([...])->register($router) g…
リクエスト例
“週末の計画を立てて。”
エージェント
Claude Code, Codex, OpenCode ほか 32 エージェント 向けのコマンドがあります。
信頼できますか?
GitHub スター 27 · MIT。インストール前にソースを確認してください。
利用状況
過去 30 日間、サイトとエージェントでの利用。
0件のマイリストに登録
0回表示
0回コマンドをコピー
0回サイトからダウンロード
0回アプリからインストール
0回エージェントが自分でインストール
0人のアクティブユーザー
実利用スコアには ANG アプリから 20 人以上のユーザーと 50 件以上のタスクが必要です。現在 0 人、0 件。それまでは強さのスコアを掲載データから推定します。