feat(app): fresh module-platform, provider, middleware, rule and support implementation

This commit is contained in:
Darko Gjorgjijoski
2026-08-21 14:15:49 +02:00
parent 56cb653a2d
commit 7d5f29a1d4
24 changed files with 1580 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as FrameworkTrimStrings;
/**
* Application hook into the framework's whitespace-trimming pass over the
* request payload.
*/
class TrimStrings extends FrameworkTrimStrings
{
/**
* Input keys handed through untouched, since a leading or trailing space
* is a legitimate part of the value.
*
* Note this replaces the framework list rather than extending it, so
* `current_password` is trimmed here even though the framework spares it.
*
* @var array
*/
protected $except = [
'password',
'password_confirmation',
];
}