Search by

neverwoods / validformbuilder

flangfeldtrvanbaalen

This package is abandoned and no longer maintained. The author suggests using the validformbuilder/validformbuilder package instead.

The easiest tool for generating XHTML 1.0 valid and CSS enabled webforms.

Package info

github.com/validformbuilder/validformbuilder

Homepage

pkg:composer/neverwoods/validformbuilder

Statistics

Installs: 3 163

Dependents: 0

Suggesters: 0

Stars: 30

Open Issues: 8

v5.3.3 2026-09-13 19:16 UTC

README

License A project by Neverwoods
Latest Stable Version GitHub Actions Workflow Status GitHub Actions Workflow Status Packagist Downloads

Quick links:

ValidForm Builder

The ValidForm Builder is a PHP and JavaScript library that simplifies the often tedious creation of standards based web forms. Correct field validation of forms is an often overlooked problem and can lead to serious security issues. Building a form and adding validation to it was never that easy.

  • The API generates XHTML Strict 1.0 compliant code.
  • Field validation on the client side to minimize traffic overhead.
  • Field validation on the server to enforce validation rules and prevent tempering with the form through SQL injection.
  • Client side validation displays inline to improve user satisfaction. No more annoying popups that don't really tell you anything.
  • Creation of complex form structures.
  • Uses the popular jQuery Javascript library for DOM manipulation.
  • Completely customizable using CSS rules.
  • Automatic creation of field summaries for form mailers.
  • Super fast web form creation.
  • Get rid of SQL injection problems.
  • Create standards based CSS forms. No tables inside.
  • Make form entry fun for the user. More feedback from your website.
  • Write client- and server-side validation at the same time

Installation

You're free to download the source and get started to install ValidForm Builder. Add the following to your project's composer.json file:

{
    "require": {
        "validformbuilder/validformbuilder": "~5"
    }
}

By using the tilde you'll automatically install bug fixes and new features. See Composer documentation for details.

Documentation

You can eat get going fast with the new extensive documentation generated by PHPDoc. We've proved lots of inline documentation together with example code to get you started fast an easy.

Here are some documentation quick links:

If you have any questions, please ask them on stackoverflow and be sure to tag your question with the validform tag. We regulary monitor these questions and try to answer them as soon as we can :)

Examples

Check out the examples folder for many real-live use cases for ValidForm Builder. Each snippet is ready to copy-paste into your project!

Releasing

Releases are cut by hand. There is no version bump tooling, no changelog file and no release automation; a release is a git tag plus a GitHub release, and Packagist picks the tag up on its own.

  1. Merge the PRs for the release into master. The PHPUnit tests workflow must be green on master before you continue.
  2. Pick the next version number using semantic versioning: patch for bug fixes, minor for new features, major for breaking changes.
  3. Make sure composer.json does not contain a version field. Packagist reads the version from the tag and rejects a tag whose composer.json declares a different version.
  4. Create and push an annotated tag from master:
    git checkout master && git pull
    git tag -a v5.4.0 -m "Short description of the release"
    git push origin v5.4.0
    
  5. Create a GitHub release for the tag on the releases page, using the same title as the tag message. The release title is the only place release notes live, so add a short list of changes in the body.

After the tag is pushed, Packagist updates automatically through the GitHub webhook. Check that the new version is listed there; if it is not, the tag was most likely rejected because of step 3.

The API documentation on validformbuilder.org/docs is regenerated by the Generate Documentation workflow on every push to master, independent of releases.

Happy coding!

Felix & Robin