PHPackages                             lexal/laravel-stepped-form-submitter - 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. lexal/laravel-stepped-form-submitter

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lexal/laravel-stepped-form-submitter
====================================

Stepped Form submitter for Laravel &amp; Lumen.

v4.0.0(3mo ago)14561MITPHPPHP &gt;=8.2CI passing

Since Mar 2Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/lexalium/laravel-stepped-form-submitter)[ Packagist](https://packagist.org/packages/lexal/laravel-stepped-form-submitter)[ RSS](/packages/lexal-laravel-stepped-form-submitter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (21)Versions (7)Used By (0)

Stepped Form Submitter for Laravel
==================================

[](#stepped-form-submitter-for-laravel)

[![PHPUnit, PHPCS, PHPStan Tests](https://github.com/lexalium/laravel-stepped-form-submitter/actions/workflows/tests.yml/badge.svg)](https://github.com/lexalium/laravel-stepped-form-submitter/actions/workflows/tests.yml)

The package is based on the [Form Submitter](https://github.com/lexalium/form-submitter) and built for the Laravel framework.

Table of Contents

1. [Requirements](#requirements)
2. [Installation](#installation)
3. [Configuration](#configuration)
    - [Publish the config](#publish-the-config)
    - [Available config options](#available-config-options)
4. [Usage](#usage)
5. [License](#license)

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

[](#requirements)

**PHP:** &gt;=8.2

**Laravel:** ^11.0 || ^12.0

Installation
------------

[](#installation)

Via Composer

```
composer require lexal/laravel-stepped-form-submitter

```

Configuration
-------------

[](#configuration)

### Publish the config

[](#publish-the-config)

Run the following command to publish the package config file:

```
php artisan vendor:publish --provider="Lexal\LaravelSteppedFormSubmitter\ServiceProvider\ServiceProvider"
```

### Available config options

[](#available-config-options)

The configuration file `config/form-submitter.php` has the following options:

1. `transaction_class` - place a class name, instance or service alias which the FormSubmitter will use to handle transactions. Place `null` or remove config to disable transactions.

    ```
    'transaction_class' => DatabaseTransaction::class,
    ```
2. `submitters` - specify at least one form submitter that the stepped form will use to submit entity on FormFinished event. Must implement `FormSubmitterInterface`.

    ```
    'submitters' => [
        // list of form submitters
    ],
    ```

([back to top](#readme-top))

Usage
-----

[](#usage)

1. [Publish configuration file](#publish-the-config).
2. Add form transaction implementation, if necessary.

    ```
    use Lexal\FormSubmitter\Transaction\TransactionInterface;

    final class DatabaseTransaction implements TransactionInterface
    {
         public function start(): void
         {
             // start transaction
         }

         public function commit(): void
         {
             // commit transaction
         }

         public function rollback(): void
         {
             // rollback transaction
         }
    }
    ```
3. Create custom form submitters.

    ```
    use Lexal\FormSubmitter\FormSubmitterInterface;

    final class CustomerFormSubmitter implements FormSubmitterInterface
    {
        public function supportsSubmitting(mixed $entity): bool
        {
            return $entity instanceof Customer;
        }

        public function submit(mixed $entity): mixed
        {
            // save entity to the database

            return $entity;
        }
    }
    ```
4. Update configuration file. Add form submitters and transaction class (if necessary).

    ```
    return [
        'transaction_class' => DatabaseTransaction::class,
        'submitters' => [
            CustomerFormSubmitter::class,
        ],
    ];
    ```
5. Form submitter will call your custom form submitter automatically if it supports submitting of stepped-form entity.

([back to top](#readme-top))

---

License
-------

[](#license)

Laravel Stepped Form Submitter is licensed under the MIT License. See [LICENSE](LICENSE) for the full license text.

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance82

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~298 days

Recently: every ~358 days

Total

6

Last Release

92d ago

Major Versions

v1.0.0 → v2.0.02022-04-29

2.1.0 → v3.0.02023-12-28

v3.0.0 → 4.0.x-dev2026-03-31

PHP version history (3 changes)v1.0.0PHP ^8.0

v3.0.0PHP &gt;=8.1

4.0.x-devPHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/e58c7184c9ec2cebd6c37bb1fbc98870dc0f43abeccc4f0c873edf364a11c321?d=identicon)[alexxxkk](/maintainers/alexxxkk)

---

Top Contributors

[![lexalium](https://avatars.githubusercontent.com/u/28488207?v=4)](https://github.com/lexalium "lexalium (6 commits)")[![GalinaGorokhovaItransition](https://avatars.githubusercontent.com/u/105951990?v=4)](https://github.com/GalinaGorokhovaItransition "GalinaGorokhovaItransition (1 commits)")[![GorokhovaGalina](https://avatars.githubusercontent.com/u/105951990?v=4)](https://github.com/GorokhovaGalina "GorokhovaGalina (1 commits)")

---

Tags

laravellumenform submitterstepped form submitterlaravel stepped form submitterlaravel multi form submitter

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/lexal-laravel-stepped-form-submitter/health.svg)

```
[![Health](https://phpackages.com/badges/lexal-laravel-stepped-form-submitter/health.svg)](https://phpackages.com/packages/lexal-laravel-stepped-form-submitter)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M184](/packages/laravel-ai)[moonshine/moonshine

Laravel administration panel

1.3k253.1k78](/packages/moonshine-moonshine)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M277](/packages/illuminate-pipeline)[illuminate/session

The Illuminate Session package.

9939.3M840](/packages/illuminate-session)

PHPackages © 2026

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