Download the PHP package fire1/ax-form-bundle without Composer
On this page you can find all versions of the php package fire1/ax-form-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fire1/ax-form-bundle
More information about fire1/ax-form-bundle
Files in fire1/ax-form-bundle
Package ax-form-bundle
Short Description Symfony bundle for building AJAX-powered Bootstrap 5.3/jQuery modals forms with ease.
License MIT
Informations about the package ax-form-bundle
The Symfony AxFormBundle
AxFormBundle makes it easy to open your Symfony forms in Bootstrap 5.3 modals using AJAX. It handles all the "boring" parts—like page reloads and error messages—so you don't have to write custom JavaScript. It’s the simplest way to turn your Symfony forms into fast pop-ups with almost no extra code.
Features
- Fluent AxFormService: A clean API for handling entity creation and modification within modals (requires Doctrine and Symfony Form).
- AxStepsService: Session-based orchestrator for complex multi-step form workflows.
- AbstractAxFormController: Base controller with built-in helpers for modal initialization and entity deletion.
- Twig Integration: Custom functions for rendering modal triggers and the required container structure.
- Bootstrap 5 Support: Out-of-the-box templates compatible with Bootstrap 5.
- Portable Assets: Includes a standalone npm package
@fire1/ax-formwith Vue 3 components.
Requirements
- PHP 8.2 or higher
- Symfony 5.4, 6.x, or 7.x
- Doctrine ORM (for
AxFormServiceentity persistence) - Symfony Form Component (for form handling)
- Twig Bundle (for rendering)
Documentation
Full documentation is available in the docs folder:
- Installation
- AxFormService
- AxStepsService
- Controller Integration
- Frontend Assets
- Twig Helpers
Implementation notes (shared service, Next/Submit, JS): src/Resources/assets/readme.md.
Quick Installation
Register the bundle in config/bundles.php:
Ensure you have the required modal structure in your base layout:
Basic Usage Example
All versions of ax-form-bundle with dependencies
symfony/framework-bundle Version ^5.4|^6.0|^7.0
symfony/twig-bundle Version ^5.4|^6.0|^7.0
doctrine/orm Version ^2.14|^3.0
doctrine/doctrine-bundle Version ^2.8