shopsys / ordered-form
Provides a form ordering support with the Symfony Form component.
Requires
- php: ^8.1
- symfony/form: ^4.0|^5.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.0
- phpstan/phpstan: ^1.8
- phpunit/phpunit: ^9.5
- symfony/phpunit-bridge: ^4.0|^5.0
README
The library allows to order your Symfony Form fields by adding the position option. A position can either be first, last or an associative array describing before and/or after field.
Documentation
Testing
The library is fully unit tested by PHPUnit with a code coverage close to 100%. To execute the test suite, check the travis configuration.
Contribute
We love contributors! Ivory is an open source project. If you'd like to contribute, feel free to propose a PR! You can follow the CONTRIBUTING file which will explain you how to set up the project.
License
The Ivory Ordered Form is under the MIT license. For the full copyright and license information, please read the LICENSE file that was distributed with this source code.