PHPackages                             tripalcultivate/chadosearch - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. tripalcultivate/chadosearch

ActiveDrupal-module[Search &amp; Filtering](/categories/search)

tripalcultivate/chadosearch
===========================

A Tripal extension module that provides custom search functionality of Chado for those who don't wish to use Drupal Views.

4.x-dev(1y ago)00[1 issues](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch/issues)[1 PRs](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch/pulls)GPL-3.0-or-laterPHPPHP ^8.3CI passing

Since Mar 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch)[ Packagist](https://packagist.org/packages/tripalcultivate/chadosearch)[ Docs](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch)[ RSS](/packages/tripalcultivate-chadosearch/feed)WikiDiscussions 4.x Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

[![Tripal Dependency](https://camo.githubusercontent.com/abb72bb644a54932ed888c815a8e9556479165d3a3dcda79ee733d228c2efe44/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f74726970616c2d2533453d342e302d627269676874677265656e)](https://camo.githubusercontent.com/abb72bb644a54932ed888c815a8e9556479165d3a3dcda79ee733d228c2efe44/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f74726970616c2d2533453d342e302d627269676874677265656e)[![Module is Generic](https://camo.githubusercontent.com/7c96510cc5dea4da953f3f363645fff3a2bcffff5ab9193458c370bd11e60013/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f67656e657269632d636f6e6669726d65642d627269676874677265656e)](https://camo.githubusercontent.com/7c96510cc5dea4da953f3f363645fff3a2bcffff5ab9193458c370bd11e60013/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f67656e657269632d636f6e6669726d65642d627269676874677265656e)[![GitHub release (latest by date including pre-releases)](https://camo.githubusercontent.com/eefa98ac4d5dc13ab7221dfec5850f09777faade5376b15bfc6ddfb30cb9522e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f54726970616c43756c7469766174652f54726970616c43756c7469766174652d436861646f5365617263683f696e636c7564655f70726572656c6561736573)](https://camo.githubusercontent.com/eefa98ac4d5dc13ab7221dfec5850f09777faade5376b15bfc6ddfb30cb9522e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f54726970616c43756c7469766174652f54726970616c43756c7469766174652d436861646f5365617263683f696e636c7564655f70726572656c6561736573)

[![Maintainability](https://camo.githubusercontent.com/837e698c2b3fc8bb003344b0f0665d641a5971ee626e5b141af99b5ca0868e58/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f34653830393634396534663838393530326163612f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/TripalCultivate/TripalCultivate-ChadoSearch/maintainability)[![Test Coverage](https://camo.githubusercontent.com/5f662d1ab683d53735c9c1a51447a9d6b33a48f407a29a686c6dab49ecfdd01c/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f34653830393634396534663838393530326163612f746573745f636f766572616765)](https://codeclimate.com/github/TripalCultivate/TripalCultivate-ChadoSearch/test_coverage)

Chado Custom Search
===================

[](#chado-custom-search)

Provides custom search functionality for those who don't wish to use Drupal Views.

Why might you want to use this module?

- Gives you complete control of the query so you can tweak performance.
- Removes query-determination overhead of Drupal Views for better performance.
- Lets you make quick custom searches which can be under version control.
- Saves you from having to render the result table, generate the filter form, handle the user input and execute the query.
- Lets you focus on customizing only what you want to!

Chado Custom Search API
-----------------------

[](#chado-custom-search-api)

1. Implement the ChadoSearch plugin type by creating a class extending ChadoSearchBase at `src/Plugin/ChadoSearch`. At a minimum you need to set the annotations, the $info property and the getQuery() method. See [BreedingCrossSearch](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch/blob/master/example_ccsearch/srcPlugin/ChadoSearch/BreedingCrossSearch.inc) for an example.
2. Clear the cache, navigate to the path defined in the class and enjoy your custom search!

Citation
--------

[](#citation)

If you use this module in your Tripal site, please use this citation to reference our work any place where you described your resulting Tripal site. For example, if you publish your site in a journal then this citation should be in the reference section and anywhere functionality provided by this module is discussed in the above text should reference it.

> Lacey-Anne Sanderson (2024). Tripal Cultivate Chado Search. Development Version. University of Saskatchewan, Pulse Crop Research Group, Saskatoon, SK, Canada.

Technology Stack
----------------

[](#technology-stack)

*See specific version compatibility in the automated testing section below.*

- Drupal
- Tripal 4.x
- PostgreSQL
- PHP
- Apache2

### Docker

[](#docker)

We use docker images within our Automated Testing Github Workflows and for development purposes. Specifically, the Dockerfile within this repo extends the [tripalproject/tripaldocker](https://hub.docker.com/r/tripalproject/tripaldocker)by installing this module package.

### Automated Testing

[](#automated-testing)

This package is dedicated to a high standard of automated testing. We use PHPUnit for testing and CodeClimate to ensure good test coverage and maintainability. There are more details on [our CodeClimate project page](https://codeclimate.com/github/TripalCultivate/TripalCultivate-ChadoSearch)describing our specific maintainability issues and test coverage.

[![Maintainability](https://camo.githubusercontent.com/7824663a023b030e883a47180de95156cc4ade86ee04e8ba210e90b26e5ebf92/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f36393038306664623330633563336134363335302f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/TripalCultivate/TripalCultivate-ChadoSearch/maintainability)[![Test Coverage](https://camo.githubusercontent.com/a9db0e7c0f7410305adc44be4d7ceb046e199908085bb78d15a8d5988b302777/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f36393038306664623330633563336134363335302f746573745f636f766572616765)](https://codeclimate.com/github/TripalCultivate/TripalCultivate-ChadoSearch/test_coverage)

The following compatibility is proven via automated testing workflows.

Drupal10.5.x11.0.x11.1.x**PHP 8.1**[![Grid1A-Badge](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch/actions/workflows/MAIN-phpunit-Grid1A.yml/badge.svg)](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch/actions/workflows/MAIN-phpunit-Grid1A.yml/badge.svg)**PHP 8.2**[![Grid1B-Badge](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch/actions/workflows/MAIN-phpunit-Grid1B.yml/badge.svg)](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch/actions/workflows/MAIN-phpunit-Grid1B.yml/badge.svg)**PHP 8.3**[![Grid1C-Badge](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch/actions/workflows/MAIN-phpunit-Grid1C.yml/badge.svg)](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch/actions/workflows/MAIN-phpunit-Grid1C.yml/badge.svg)[![Grid2C-Badge](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch/actions/workflows/MAIN-phpunit-Grid2C.yml/badge.svg)](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch/actions/workflows/MAIN-phpunit-Grid2C.yml/badge.svg)[![Grid3C-Badge](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch/actions/workflows/MAIN-phpunit-Grid3C.yml/badge.svg)](https://github.com/TripalCultivate/TripalCultivate-ChadoSearch/actions/workflows/MAIN-phpunit-Grid3C.yml/badge.svg)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance42

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1427 days

Total

2

Last Release

459d ago

Major Versions

3.x-dev → 4.x-dev2025-02-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/4083b15618278dd53dc26863d5c81888ac49acca3850166f8b3e0cac18ff611b?d=identicon)[uofs-pulse-binfo](/maintainers/uofs-pulse-binfo)

---

Top Contributors

[![laceysanderson](https://avatars.githubusercontent.com/u/1566301?v=4)](https://github.com/laceysanderson "laceysanderson (62 commits)")

---

Tags

drupaltripalbiological-datadata-search

### Embed Badge

![Health badge](/badges/tripalcultivate-chadosearch/health.svg)

```
[![Health](https://phpackages.com/badges/tripalcultivate-chadosearch/health.svg)](https://phpackages.com/packages/tripalcultivate-chadosearch)
```

###  Alternatives

[tripal/tripal

Tripal is a toolkit to facilitate construction of online genomic, genetic (and other biological) websites.

709.9k9](/packages/tripal-tripal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
