Migrate backend to Porto architecture and fix minor bugs
- Fully transitioned the backend to the Porto architectural pattern - Improved code organization and maintainability - Fixed minor bugs and inconsistencies
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Ship\Abstracts\Middleware;
|
||||
|
||||
use Illuminate\Auth\Middleware\Authenticate as LaravelMiddleware;
|
||||
|
||||
abstract class Authenticate extends LaravelMiddleware
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Ship\Abstracts\Middleware;
|
||||
|
||||
use Illuminate\Cookie\Middleware\EncryptCookies as LaravelMiddleware;
|
||||
|
||||
abstract class EncryptCookies extends LaravelMiddleware
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Ship\Abstracts\Middleware;
|
||||
|
||||
use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as LaravelMiddleware;
|
||||
|
||||
abstract class PreventRequestsDuringMaintenance extends LaravelMiddleware
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Ship\Abstracts\Middleware;
|
||||
|
||||
use Illuminate\Foundation\Http\Middleware\TrimStrings as LaravelMiddleware;
|
||||
|
||||
abstract class TrimStrings extends LaravelMiddleware
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Ship\Abstracts\Middleware;
|
||||
|
||||
use Illuminate\Http\Middleware\TrustHosts as LaravelMiddleware;
|
||||
|
||||
abstract class TrustHosts extends LaravelMiddleware
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Ship\Abstracts\Middleware;
|
||||
|
||||
use Illuminate\Http\Middleware\TrustProxies as LaravelMiddleware;
|
||||
|
||||
abstract class TrustProxies extends LaravelMiddleware
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Ship\Abstracts\Middleware;
|
||||
|
||||
use Illuminate\Routing\Middleware\ValidateSignature as LaravelMiddleware;
|
||||
|
||||
abstract class ValidateSignature extends LaravelMiddleware
|
||||
{
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Ship\Abstracts\Middleware;
|
||||
|
||||
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as LaravelMiddleware;
|
||||
|
||||
abstract class VerifyCsrfToken extends LaravelMiddleware
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user