https://github.com/yii-extension/simple-forms
Simple Forms for PHP.
https://github.com/yii-extension/simple-forms
bootstrap5 bulma forms php tailwind widgets yii2 yii3
Last synced: 5 months ago
JSON representation
Simple Forms for PHP.
- Host: GitHub
- URL: https://github.com/yii-extension/simple-forms
- Owner: yii-extension
- License: bsd-3-clause
- Created: 2021-05-31T17:59:49.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-17T19:02:15.000Z (over 2 years ago)
- Last Synced: 2024-11-14T15:50:21.199Z (6 months ago)
- Topics: bootstrap5, bulma, forms, php, tailwind, widgets, yii2, yii3
- Language: PHP
- Homepage:
- Size: 446 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Simple Forms
[](https://packagist.org/packages/yii-extension/simple-forms)
[](https://github.com/yii-extension/simple-forms/actions?query=workflow%3Abuild)
[](https://codecov.io/gh/yii-extension/simple-forms)
[](https://dashboard.stryker-mutator.io/reports/github.com/yii-extension/simple-forms/master)
[](https://github.com/yii-extension/simple-forms/actions?query=workflow%3A%22static+analysis%22)
[](https://shepherd.dev/github/yii-extension/simple-forms)## Installation
```shell
composer require yii-extension/simple-forms
```## Support css framework
- [Bootstrap](https://getbootstrap.com/docs/5.0/forms/overview/)
- [Bulma](https://bulma.io/documentation/form/)
- [Tailwind](https://v1.tailwindcss.com/components/forms)## Widgets usage
The following documentation describes how to use widgets with PHP:
- [Checkbox](docs/checkbox.md)
- [CheckboxList](docs/checkboxlist.md)
- [Date](docs/date.md)
- [DateTime](docs/datetime.md)
- [DateTimeLocal](docs/datetimelocal.md)
- [Email](docs/email.md)
- [Error](docs/error.md)
- [ErrorSummary](docs/error-summary.md)
- [File](docs/file.md)
- [Hint](docs/hint.md)
- [Label](docs/label.md)
- [Number](docs/number.md)
- [Password](docs/password.md)
- [Radio](docs/radio.md)
- [RadioList](docs/radiolist.md)
- [Range](docs/range.md)
- [ResetButton](docs/resetbutton.md)
- [Select](docs/select.md)
- [SubmitButton](docs/submitbutton.md)
- [Telephone](docs/telephone.md)
- [Text](docs/text.md)
- [Url](docs/url.md)### Unit testing
The package is tested with [PHPUnit](https://phpunit.de/). To run tests:
```shell
./vendor/bin/phpunit
```### Mutation testing
The package tests are checked with [Infection](https://infection.github.io/) mutation framework. To run it:
```shell
./vendor/bin/infection
```## Static analysis
The code is statically analyzed with [Psalm](https://psalm.dev/docs). To run static analysis:
```shell
./vendor/bin/psalm
```### License
The `yii-extension/simple-forms` is free software. It is released under the terms of the BSD License.
Please see [`LICENSE`](./LICENSE.md) for more information.Maintained by [Yii Extension](https://github.com/yii-extension).
## Support the project
[](https://opencollective.com/yiisoft)
## Powered by Yii Framework
[](https://www.yiiframework.com/)