add laravel example

This commit is contained in:
Andras Bacsai
2024-03-08 11:09:34 +01:00
parent d9f4c5d3a9
commit a1dc105ed5
79 changed files with 11199 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array<int, string>
*/
protected $except = [
'current_password',
'password',
'password_confirmation',
];
}