g737a6b/php-form

PHP form library.

Installs: 346

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/g737a6b/php-form

3.3.3 2023-12-31 06:45 UTC

README

PHP form library.

Examples of use

See demo/.

docker run -it --rm -p 8080:80 -v $(pwd):/var/www/html php:7.4-apache
# http://localhost:8080/demo/

Features

MofgForm is suited to all web forms.

  • All basic input types (text, select, radio, checkbox, textarea and password)
  • Unlimited pages
  • Validation
  • Filtering
  • HTML generation
  • Sending email
  • Summarizing submitted form
  • Lightweight
  • Installation using Composer
  • MIT Licence

Installation

Composer

Add a dependency to your project's composer.json file.

{
	"require": {
		"g737a6b/php-form": "*"
	}
}

Development

Install dependencies

docker run -it --rm -v $(pwd):/app composer:2.6.6 install

Run tests

docker run -it --rm -v $(pwd):/app -w /app php:8.3 ./vendor/bin/phpunit ./tests

License

The MIT License

Copyright (c) 2023 Hiroyuki Suzuki