Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/g737a6b/php-form
PHP form library.
https://github.com/g737a6b/php-form
composer forms library php
Last synced: 22 days ago
JSON representation
PHP form library.
- Host: GitHub
- URL: https://github.com/g737a6b/php-form
- Owner: g737a6b
- License: mit
- Created: 2016-09-10T06:48:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-01T09:01:22.000Z (about 1 year ago)
- Last Synced: 2024-04-04T10:02:55.201Z (9 months ago)
- Topics: composer, forms, library, php
- Language: PHP
- Homepage:
- Size: 111 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# MofgForm ![main](https://github.com/g737a6b/php-form/workflows/main/badge.svg)
PHP form library.
## Examples of use
See `demo/`.
```sh
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.
```json
{
"require": {
"g737a6b/php-form": "*"
}
}
```## Development
### Install dependencies
```sh
docker run -it --rm -v $(pwd):/app composer:2.6.6 install
```### Run tests
```sh
docker run -it --rm -v $(pwd):/app -w /app php:8.3 ./vendor/bin/phpunit ./tests
```## License
[The MIT License](http://opensource.org/licenses/MIT)
Copyright (c) 2023 [Hiroyuki Suzuki](https://mofg-in-progress.com)