PHPackages                             awsmug/torro-forms-plugin-boilerplate - 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. [API Development](/categories/api)
4. /
5. awsmug/torro-forms-plugin-boilerplate

ActiveWordpress-plugin[API Development](/categories/api)

awsmug/torro-forms-plugin-boilerplate
=====================================

Plugin Boilerplate for Torro Forms.

1.0.0(8y ago)391[1 issues](https://github.com/awsmug/torro-forms-plugin-boilerplate/issues)GPL-2.0-or-laterPHPPHP &gt;=5.6.0CI failing

Since Mar 7Pushed 6y ago4 watchersCompare

[ Source](https://github.com/awsmug/torro-forms-plugin-boilerplate)[ Packagist](https://packagist.org/packages/awsmug/torro-forms-plugin-boilerplate)[ Docs](https://plugin-website.com)[ RSS](/packages/awsmug-torro-forms-plugin-boilerplate/feed)WikiDiscussions master Synced today

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

[![Build Status](https://camo.githubusercontent.com/6267c5291524a1a9a492923a2f7ec6dafb84f727b6e03123535de32fec9cf7bb/68747470733a2f2f6170692e7472617669732d63692e6f72672f6177736d75672f746f72726f2d666f726d732d706c7567696e2d626f696c6572706c6174652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/awsmug/torro-forms-plugin-boilerplate)[![Code Climate](https://camo.githubusercontent.com/cf8b10503a774cfb6e60a5564961142e5f1e0be122513095c2dc73d6db89bce4/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6177736d75672f746f72726f2d666f726d732d706c7567696e2d626f696c6572706c6174652f6261646765732f6770612e737667)](https://codeclimate.com/github/awsmug/torro-forms-plugin-boilerplate)[![Test Coverage](https://camo.githubusercontent.com/a39ce5870908926155c4b66a5b2cda0e507c0b55bda96fef8e0ac8f570f0e4f6/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6177736d75672f746f72726f2d666f726d732d706c7567696e2d626f696c6572706c6174652f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/awsmug/torro-forms-plugin-boilerplate/coverage)[![Latest Stable Version](https://camo.githubusercontent.com/3753698d3de57f6366e60937551735da2ac8b1c8cb2d3d3fa2ab2664d258b8b4/68747470733a2f2f706f7365722e707567782e6f72672f6177736d75672f746f72726f2d666f726d732d706c7567696e2d626f696c6572706c6174652f76657273696f6e)](https://packagist.org/packages/awsmug/torro-forms-plugin-boilerplate)[![License](https://camo.githubusercontent.com/4ccb780c61bac0ee5086064556f2af25c00eac0e5ea5247cb2ebfaf6207d81ee/68747470733a2f2f706f7365722e707567782e6f72672f6177736d75672f746f72726f2d666f726d732d706c7567696e2d626f696c6572706c6174652f6c6963656e7365)](https://packagist.org/packages/awsmug/torro-forms-plugin-boilerplate)

Torro Forms Plugin Boilerplate
==============================

[](#torro-forms-plugin-boilerplate)

This is a plugin boilerplate for a Torro Forms extension. It is highly encouraged to use this boilerplate when building any extension for Torro Forms.

Getting Started
---------------

[](#getting-started)

To create your own plugin, download this repository. For the next steps, let's assume your plugin should be called `Torro Super Extension`.

1. Rename the directory to `torro-super-extension`.
2. Rename the plugin main file to `torro-super-extension.php`.
3. Open `gulpfile.js` and scroll to the bottom.
4. Replace every value in the `replacements` object with your new plugin name or plugin author data in the appropriate format. For example, replace `my-new-plugin-name` with `torro-super-extension`, `MY_NEW_PLUGIN_NAME` with `TORRO_SUPER_EXTENSION` and so on. Replace the plugin namespace vendor, plugin URL, author name, author email and author URL with your respective data.
5. Save the changes.
6. Run `npm install` in the console.
7. Run `gulp init-replace` in the console.
8. Open `gulpfile.js` again and remove the entire bottom section that starts with `INITIAL SETUP TASK`, save the file afterwards.
9. Check the `composer.json` and `package.json` files. You might wanna update some details to your preferences.
10. Check the top of `gulpfile.js`, containing the `config` object. You might wanna update some details to your preferences.
11. Run `gulp build` once to compile everything.

Now you're good to go! One more thing: If you want to publish the plugin on wordpress.org, it's recommended to remove the `/languages` directory, plus set the `config.domainPath` to `false` and remove the `pot` task in `gulpfile.js`. Then, remove the now unnecessary arguments from the `Extension::load_textdomain()` method accordingly.

### Actual Development

[](#actual-development)

Adjust the `src/extension.php` file to your needs. This is where your extension will get bootstrapped. You can instantiate the services your extension needs here, setup hooks (which will then be automatically invoked by the Torro Forms main plugin) and more.

All further classes and assets in the boilerplate is optional and simply sample code. Just bear in mind, you should stick to the directory structure used in the boilerplate - it is oriented after the Torro Forms base plugin.

Common Gulp Tasks
-----------------

[](#common-gulp-tasks)

- `gulp sass`: Compiles CSS/Sass
- `gulp js`: Compiles JavaScript
- `gulp pot`: Refreshes POT file
- `gulp header-replace`: Replaces the plugin header with latest data
- `gulp readme-replace`: Replaces the header and description in the readme with latest data
- `gulp build`: Runs all of the above tasks

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

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

2987d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5dc7d342bcd02cba9b59fe42c36154fe314c836b6247c3fe2920db512ab0bbed?d=identicon)[mahype](/maintainers/mahype)

---

Top Contributors

[![felixarntz](https://avatars.githubusercontent.com/u/3531426?v=4)](https://github.com/felixarntz "felixarntz (22 commits)")[![mahype](https://avatars.githubusercontent.com/u/663697?v=4)](https://github.com/mahype "mahype (4 commits)")

---

Tags

pluginapiwordpressextensionFormsform-buildertorro forms

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/awsmug-torro-forms-plugin-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/awsmug-torro-forms-plugin-boilerplate/health.svg)](https://phpackages.com/packages/awsmug-torro-forms-plugin-boilerplate)
```

###  Alternatives

[sybrew/the-seo-framework

An automated, advanced, accessible, unbranded and extremely fast SEO solution for any WordPress website.

47078.8k](/packages/sybrew-the-seo-framework)[nekojira/wp-api-menus

Extends WordPress WP API with menu routes.

1401.5k](/packages/nekojira-wp-api-menus)[oomphinc/wp-forms-api

Drupal-esque API for creating and munging forms in WordPress

581.1k](/packages/oomphinc-wp-forms-api)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[dotzero/yii2-amocrm

Расширение для Yii Framework 2 реализующее клиент для работы с API amoCRM

1639.7k](/packages/dotzero-yii2-amocrm)

PHPackages © 2026

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