PHPackages                             fire1/ax-form-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. fire1/ax-form-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

fire1/ax-form-bundle
====================

Symfony bundle for building AJAX-powered Bootstrap 5.3/jQuery modals forms with ease.

1.2.2(2mo ago)20MITPHPPHP &gt;=8.2

Since Apr 2Pushed 2mo agoCompare

[ Source](https://github.com/fire1/ax-form-bundle)[ Packagist](https://packagist.org/packages/fire1/ax-form-bundle)[ RSS](/packages/fire1-ax-form-bundle/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)Dependencies (5)Versions (6)Used By (0)

The Symfony AxFormBundle
========================

[](#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
--------

[](#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-form` with Vue 3 components.

Requirements
------------

[](#requirements)

- **PHP 8.2** or higher
- **Symfony 5.4, 6.x, or 7.x**
- **Doctrine ORM** (for `AxFormService` entity persistence)
- **Symfony Form Component** (for form handling)
- **Twig Bundle** (for rendering)

Documentation
-------------

[](#documentation)

Full documentation is available in the [docs](docs/index.md) folder:

1. [Installation](docs/installation.md)
2. [AxFormService](docs/ax-form-service.md)
3. [AxStepsService](docs/ax-steps-service.md)
4. [Controller Integration](docs/controller-integration.md)
5. [Frontend Assets](docs/frontend-assets.md)
6. [Twig Helpers](docs/twig-helpers.md)

Implementation notes (shared service, Next/Submit, JS): [`src/Service/readme.md`](src/Service/readme.md), [`src/Resources/assets/readme.md`](src/Resources/assets/readme.md).

Quick Installation
------------------

[](#quick-installation)

```
composer require fire1/ax-form-bundle
```

Register the bundle in `config/bundles.php`:

```
return [
    // ...
    Fire1\AxFormBundle\Fire1AxFormBundle::class => ['all' => true],
];
```

Ensure you have the required modal structure in your base layout:

```
{{ ax_form_modal() }}
```

Basic Usage Example
-------------------

[](#basic-usage-example)

```
// In a Controller extending AbstractAxFormController
public function new(): Response
{
    $form = $this->formPage(Task::class, 'task');

    return $form
        ->title('Create New Task')
        ->do(TaskType::class, function (Task $task, AxFormService $form) {
            $form->record();
            return $form->redirectByReferer();
        });
}
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance85

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~9 days

Total

4

Last Release

86d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1549876?v=4)[Angel Zaprianov](/maintainers/fire1)[@fire1](https://github.com/fire1)

---

Top Contributors

[![fire1](https://avatars.githubusercontent.com/u/1549876?v=4)](https://github.com/fire1 "fire1 (10 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fire1-ax-form-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/fire1-ax-form-bundle/health.svg)](https://phpackages.com/packages/fire1-ax-form-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M400](/packages/easycorp-easyadmin-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M754](/packages/sylius-sylius)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.8M511](/packages/pimcore-pimcore)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
