tinghom/laravel-avoid-resubmit

There is no license information available for the latest version (0.0.2) of this package.

A package that is applied to Laravel to avoid resubmitting form data

0.0.2 2021-03-19 10:29 UTC

This package is auto-updated.

Last update: 2024-05-19 17:32:38 UTC


README

A package that is applied to Laravel to avoid resubmitting form data

Install

Use composer to install package

$ composer required tinghom/laravel-avoid-resubmit

notice if your Laravel version is beyond 5.6, package’ll auto register ServiceProvider to app.php. But if your version is above 5.6, you’ve to register by yourself.

config/app.php

'provider' => [
	// package ServiceProvider
	Tinghom\Middleware\AvoidResubmitServiceProvider::class,
]