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(1mo ago)10MITPHPPHP &gt;=8.2

Since Apr 2Pushed 3w 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 1w ago

READMEChangelog (2)Dependencies (5)Versions (5)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)
7. [Agents / brandpier notes](docs/agents-axform-notes.md) — **read in brandpier** (route `{id}`, flashes, erase URL, DTO pitfalls)

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

39

—

LowBetter than 84% of packages

Maintenance93

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

41d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/563458d61bb45d9d0bea9702678f0e070bd3428f4e60331a2092a431eac6f601?d=identicon)[fire1](/maintainers/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.5M370](/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.

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

The easy like Crud'it Bundle.

1715.6k12](/packages/2lenet-crudit-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M195](/packages/sulu-sulu)[kimai/kimai

Kimai - Time Tracking

4.7k8.7k1](/packages/kimai-kimai)[open-dxp/opendxp

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

9017.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

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