PHPackages                             tripal/tripal\_devtools - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. tripal/tripal\_devtools

ActiveDrupal-module[Utility &amp; Helpers](/categories/utility)

tripal/tripal\_devtools
=======================

A Drupal extension module which provides helpful tools for developing Tripal Extension Modules.

4.x-dev(3mo ago)0117[4 issues](https://github.com/tripal/tripal_devtools/issues)[1 PRs](https://github.com/tripal/tripal_devtools/pulls)GPL-2.0-or-laterPHPPHP ^8.2CI passing

Since Oct 3Pushed 3mo ago9 watchersCompare

[ Source](https://github.com/tripal/tripal_devtools)[ Packagist](https://packagist.org/packages/tripal/tripal_devtools)[ Docs](https://github.com/tripal/tripal_devtools)[ RSS](/packages/tripal-tripal-devtools/feed)WikiDiscussions 4.x Synced 3w ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

Tripal Developer Tools
======================

[](#tripal-developer-tools)

Provides tools to make development of Tripal extension modules easier!

Requirements
------------

[](#requirements)

- Tripal 4.x
- Drush 13.6+
- PHP 8.2+

Usage
-----

[](#usage)

This module is expected to be used in development only. We suggest using it with a dockerized Tripal site for development of extension modules. That said, as long as you have the above requirements you can install it on a local drupal site using composer.

Tools
-----

[](#tools)

### Drush integrated generators

[](#drush-integrated-generators)

This module provides a large number of file generators for Tripal plugins. They use Drush 12+ and Drush-Generator v3 (included in Drush 12).

The following commands are currently implemented:

CategoryCommandDescriptionFieldstripal:fieldGenerates a Tripal Field Type, Widget and Formatter for fields not interacting with Chado.Fieldstripal:field-formatterGenerates a Tripal Formatter to be used with an existing Tripal Field.Fieldstripal:field-typeGenerates a Tripal Field Type for developing Tripal fields with no interactiion with Chado.Fieldstripal:field-widgetGenerates a Tripal Widget to be used with an existing Tripal Field.Fieldstripal-chado:fieldGenerates a Chado Field Type, Widget and Formatter for fields who store their data in Chado.Fieldstripal-chado:field-formatterGenerates a Chado Formatter to be used with an existing Chado Field.Fieldstripal-chado:field-typeGenerates a Chado Field Type for developing fields which store their data in chado.Fieldstripal-chado:field-widgetGenerates a Chado Field Widget to be used with an existing Chado Field.Developertripal:extension-moduleGenerates a Tripal Extension module and its associated files.Developertripal-admin:readme-gridGenerates the testing grid for the readme and associated MAIN-phpunit-VER.yml workflow files.#### Usage:

[](#usage-1)

**Assumes you have set up your development environment as descriped under Docker Setup above.**

Now that you have linked the internal docker copy and your local copy you can run drush inside your docker to generate the files and see them appear locally!

```
docker exec -it CONTAINERNAME drush generate tripal-chado:field

```

And then answer the prompts. The generator then takes your answers, fills them into our templates and provides you with a set of files to work with!

Docker Setup
------------

[](#docker-setup)

If you are using TripalDocker to develop your extension module, then

1. Build a TripalDocker designed to develop your module and mount the directory your module in in to your local hard drive.

    For example, if your module is called `my_module` and your current working directory contains your local copy of this module, then your run command would be:

    ```
    docker run --publish=80:80 --name=CONTAINERNAME -tid \
      --volume=$(pwd):/var/www/drupal/web/modules/contrib/my_module tripalproject/tripaldocker:latest

    ```

    NOTE: If you are just starting, then your local folder can contain nothing and you can use this module to generate the initial files!
2. Install this module inside your docker container using the following command:

    ```
    docker exec --workdir=/var/www/drupal CONTAINERNAME composer require tripal/tripal_devtools

    ```

Local installation
------------------

[](#local-installation)

See the Dockerfile in this repository for commands.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance79

Regular maintenance activity

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60.3% 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

Unknown

Total

1

Last Release

110d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95e4d72ce1944624c878adfd8bcb8d6d4aca53afb2fe646e346c11ff3941f623?d=identicon)[tripalproject](/maintainers/tripalproject)

---

Top Contributors

[![laceysanderson](https://avatars.githubusercontent.com/u/1566301?v=4)](https://github.com/laceysanderson "laceysanderson (44 commits)")[![reynoldtan](https://avatars.githubusercontent.com/u/15472253?v=4)](https://github.com/reynoldtan "reynoldtan (19 commits)")[![Ferrisx4](https://avatars.githubusercontent.com/u/9593623?v=4)](https://github.com/Ferrisx4 "Ferrisx4 (10 commits)")

---

Tags

drupaldevelopmenttripaldrush-integration

### Embed Badge

![Health badge](/badges/tripal-tripal-devtools/health.svg)

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

###  Alternatives

[farmos/farmos

A web-based farm record keeping application.

1.3k7.0k1](/packages/farmos-farmos)[tripal/tripal

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

7011.6k9](/packages/tripal-tripal)[acquia/drupal-recommended-settings

The composer plugin for adding drupal-recommended-settings for Acquia Cloud.

111.3M5](/packages/acquia-drupal-recommended-settings)

PHPackages © 2026

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