PHPackages                             artroot/form-tools - 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. artroot/form-tools

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

artroot/form-tools
==================

Plugin simple cloning of nodes by template

08JavaScript

Since Oct 31Pushed 7y ago1 watchersCompare

[ Source](https://github.com/artroot/form-tools)[ Packagist](https://packagist.org/packages/artroot/form-tools)[ RSS](/packages/artroot-form-tools/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[form-tools](https://docs.artsemenishch.com.ua/projects/js/form-tools/)
=======================================================================

[](#form-tools)

The simple cloning of node by template.

- Declarative style of defining bindings and rules;
- Flexibility of template.

Try to use formTools when you need to generate fields in your input form, for example massive of users / items.

Example
-------

[](#example)

### Clone pattern attributes description:

[](#clone-pattern-attributes-description)

- cp-init - the initialization area of the form or block;
- cp-options - list of options and rules;
- cp-viewport - the area where the cloned nodes will be added;
- cp-template - the cloned template;
- cp-inputs - area of input fields, in which data will be inserted;
- cp-add - the button for adding a cloned node;
- cp-rm - delete node button
- cp-counter - node counter

### Just follow this structure:

[](#just-follow-this-structure)

```

	Clone

	  			1

```

More examples and documentation you can see in my website

Installation
------------

[](#installation)

### With composer

[](#with-composer)

`composer require artroot/form-tools`

### Regular Setup

[](#regular-setup)

To install formTools, just download the form-tools.min.js script and add into your head tag.

```

```

or use these links.

```

```

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b50cb1920319ba5bb0cd123b723957faf33f3ca4bd21d2f625a86f3bf438b011?d=identicon)[artroot](/maintainers/artroot)

---

Top Contributors

[![artroot](https://avatars.githubusercontent.com/u/11537237?v=4)](https://github.com/artroot "artroot (24 commits)")

### Embed Badge

![Health badge](/badges/artroot-form-tools/health.svg)

```
[![Health](https://phpackages.com/badges/artroot-form-tools/health.svg)](https://phpackages.com/packages/artroot-form-tools)
```

PHPackages © 2026

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