hananils/kirby-list-filters 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hananils/kirby-list-filters

最新稳定版本:1.0.0

Composer 安装命令:

composer require hananils/kirby-list-filters

包简介

Kirby allows for the storage of value lists using its select, tags or checkboxes fields but it doesn't offer ways to filter items by those values. List Filters closes this gap by providing includes and excludes collection filters.

README 文档

README

Kirby List Filters

Kirby allows for the storage of value lists using its select, tags or checkboxes fields but it doesn't offer ways to filter items by those values. List Filters closes this gap by providing includes and excludes collection filters.

Note

Please check out the online documentation at kirby.hananils.de/plugins/list-filters for further information.

Usage

The plugin adds the following filters:

  • includes: finds items including the given values (like in_array)
  • includes some: finds items including some of the given values
  • includes all: finds items including all of the given values
  • excludes: finds items excluding the given values (like in_array)
  • excludes some: finds items excluding some of the given values
  • excludes all: finds items excluding all of the given values

Examples

$plugins = $plugins->filterBy('category', 'includes all', ['field', 'section']);

Options

  • hananils.list-filters.insensitive: defaults to true, set to false if you want to enable case sensitive matching.

Installation

Download

Download and copy this repository to /site/plugins/list-filters.

Git submodule

git submodule add https://github.com/hananils/kirby-list-filters.git site/plugins/list-filters

Composer

composer require hananils/kirby-list-filters

License

This plugin is provided freely under the MIT license by hana+nils · Büro für Gestaltung.
We create visual designs for digital and analog media.

统计信息

  • 总下载量: 17
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固