enjoys / bootstrap5-renderer
Renderer for enjoys/forms
Installs: 1 315
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.0
- enjoys/forms: ^5.9
Requires (Dev)
- fakerphp/faker: ^1.18
- infection/infection: ^0.26
- phpunit/phpunit: ^9.5
- symfony/var-dumper: ^5.3
README
Renderer for enjoys/forms
Run built-in server for view example
port=$(shuf -i 2048-65000 -n 1); php -S localhost:"${port}" -t ./example .route
Usage
use Enjoys\Forms\Renderer\Bootstrap5\Bootstrap5Renderer; $renderer = new Bootstrap5Renderer(); /** @var \Enjoys\Forms\Form $form */ $renderer->setForm($form); $renderer->output();
or
use Enjoys\Forms\Renderer\Bootstrap5\Bootstrap5Renderer; /** @var \Enjoys\Forms\Form $form */ $renderer = new Bootstrap5Renderer($form); $renderer->output();