Download the PHP package lexal/laravel-stepped-form-submitter without Composer
On this page you can find all versions of the php package lexal/laravel-stepped-form-submitter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lexal/laravel-stepped-form-submitter
More information about lexal/laravel-stepped-form-submitter
Files in lexal/laravel-stepped-form-submitter
Package laravel-stepped-form-submitter
Short Description Stepped Form submitter for Laravel & Lumen.
License MIT
Informations about the package laravel-stepped-form-submitter
Stepped Form Submitter for Laravel & Lumen
The package is based on the Form Submitter and built for the Laravel & Lumen framework.
Table of Contents
- Requirements
- Installation
- Configuration
- Publish the config
- Available config options
- Usage
- License
Requirements
PHP: >=8.1
Laravel: ^9.0 || ^10.0
Installation
Via Composer
Additional changes for Lumen framework
Add the following snippet to the bootstrap/app.php
file under the providers section as follows:
Configuration
Publish the config
Run the following command to publish the package config file:
Available config options
The configuration file config/form-submitter.php
has the following options:
-
transaction_class
- place a class name, instance or service alias which the FormSubmitter will use to handle transactions. Placenull
or remove config to disable transactions. submitters
- specify at least one form submitter that the stepped form will use to submit entity on FormFinished event. Must implementFormSubmitterInterface
.
Usage
- Publish configuration file.
-
Add form transaction implementation, if necessary.
-
Create custom form submitters.
-
Update configuration file. Add form submitters and transaction class (if necessary).
- Form submitter will call your custom form submitter automatically if it supports submitting of stepped-form entity.
License
Laravel & Lumen Stepped Form Submitter is licensed under the MIT License. See LICENSE for the full license text.
All versions of laravel-stepped-form-submitter with dependencies
illuminate/contracts Version ^9.0 || ^10.0
illuminate/support Version ^9.0 || ^10.0
lexal/form-submitter Version ^2.0
lexal/stepped-form Version ^2.0