tv2regionerne / statamic-curated-collections
在Statamic中创建精选集合。可用于优先排列您的前页等内容的显示顺序。
Requires
- php: ^8.2
- spatie/eloquent-sortable: ^4.0
- statamic/cms: ^4.0 || ^5.0
Requires (Dev)
- laravel/pint: ^1.13
- mockery/mockery: ^1.3.1
- nunomaduro/collision: ^6.0 || ^7.0
- orchestra/testbench: ^7.0 || ^8.0
- pestphp/pest: ^2.24
- phpunit/phpunit: ^9.0 || ^10.0
- dev-main
- v1.40.0
- v1.39.0
- v1.38.0
- v1.37.0
- v1.36.0
- v1.35.0
- v1.34.0
- v1.33.0
- v1.32.0
- v1.31.0
- v1.30.0
- v1.29.0
- v1.28.0
- v1.27.0
- v1.26.0
- v1.25.0
- v1.24.0
- v1.23.0
- v1.22.0
- v1.21.0
- v1.20.0
- v1.19.0
- v1.18.0
- v1.17.0
- v1.16.0
- v1.15.0
- v1.14.0
- v1.13.0
- v1.12.0
- v1.11.0
- v1.10.2
- v1.10.1
- v1.10.0
- v1.9.0
- v1.8.2
- v1.8.1
- v1.8.0
- v1.7.0
- v1.6.0
- v1.5.0
- v1.4.0
- v1.3.1
- v1.3.0
- v1.2.0
- v1.1.2.0
- v1.1.0
- v1.0.0
- v0.4.0
- v0.3.0
- v0.2.0
- v0.1.0
- dev-feature/user-permissions
- dev-fix-fallback-deduplicate
- dev-fix/permissions-test
- dev-feature/disconnect-modal
- dev-defensive-collection-fallback
- dev-fix/added-entries-search
- dev-feature/id-not-in
- dev-fix/nested-array-error
- dev-fix/entry-search
- dev-feature/unpublish_time_from_draft
- dev-feature/cache-jobs
- dev-fix/querying-status
- dev-fix/index-tag
- dev-fix/popup-fieldtype
- dev-fi/ui-regressions
- dev-feature/statamic-v5
- dev-feature/websockets
- dev-feature/support-autocache-addon
- dev-fix/support-pagination
- dev-fix/fieldset-linking-in-blueprint-editing
- dev-feature/support-autocache
- dev-bug/fallback-on-empty-collection
- dev-feature/api-integration
This package is auto-updated.
Last update: 2024-09-25 12:51:33 UTC
README
Statamic Curated Collection 是一个 Statamic 插件。
功能
此插件可以
- 这个
- 还有这个
- 以及这个
安装方法
您可以在 Statamic 控制面板的“工具 > 插件”部分搜索此插件,然后点击安装,或者从您的项目根目录运行以下命令
composer require tv2regionerne/statamic-curated-collection
使用方法
这里您可以解释如何使用这个出色的插件。
API
此插件与私有 API 插件集成,提供管理处理器的端点。以下端点可用
查看所有精选集合:GET {base}/statamic-curated-collections
查看单个精选集合:GET {base}/statamic-curated-collections/{id}
添加新的精选集合:POST {base}/statamic-curated-collections
更新单个精选集合:PATCH {base}/statamic-curated-collections/{id}
删除精选集合:DELETE {base}/statamic-curated-collections/{id}
查看所有单个精选集合条目:GET {base}/statamic-curated-collections/{id}/entries
重新排序单个精选集合条目:POST {base}/statamic-curated-collections/{id}/entries/reorder
添加新的精选集合条目:POST {base}/statamic-curated-collections/{id}/entries
查看单个精选集合条目:GET {base}/statamic-curated-collections/{id}/entries/{entryId}
更新单个精选集合条目:PATCH {base}/statamic-curated-collections/{id}/entries/{entryId}
删除精选集合条目:DELETE {base}/statamic-curated-collections/{id}/entries/{entryId}