Skip to content

Commit

Permalink
Added extension system
Browse files Browse the repository at this point in the history
  • Loading branch information
korridor committed Apr 2, 2024
1 parent b68e6df commit bc33b3e
Show file tree
Hide file tree
Showing 10 changed files with 577 additions and 94 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,5 @@ VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
NGINX_HOST_NAME=solidtime.test
NETWORK_NAME=reverse-proxy-docker-traefik_routing

FORWARD_DB_PORT=5432
FORWARD_WEB_PORT=8083
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ yarn-error.log
/blob-report/
/playwright/.cache/
/coverage
/extensions/*
/extensions
!/extensions/.gitkeep
!/extensions/extensions_autoload.php
/auth.json
/modules_statuses.json
20 changes: 20 additions & 0 deletions app/Http/Controllers/Web/HomeController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

declare(strict_types=1);

namespace App\Http\Controllers\Web;

use Illuminate\Http\RedirectResponse;
use Illuminate\Support\Facades\Auth;

class HomeController extends Controller
{
public function index(): RedirectResponse
{
if (Auth::check()) {
return redirect()->route('dashboard');
} else {
return redirect('login');
}
}
}
12 changes: 9 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@
"laravel/jetstream": "^5.0",
"laravel/passport": "^12.0",
"laravel/tinker": "^2.8",
"nwidart/laravel-modules": "^11.0.3",
"pxlrbt/filament-environment-indicator": "^2.0",
"spatie/temporary-directory": "^2.2",
"tightenco/ziggy": "^2.1.0",
"tpetry/laravel-postgresql-enhanced": "^0.37.0"
"tpetry/laravel-postgresql-enhanced": "^0.37.0",
"wikimedia/composer-merge-plugin": "^2.1.0"
},
"require-dev": {
"brianium/paratest": "^7.3",
Expand All @@ -41,7 +43,10 @@
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"files": [
"extensions/autoload.php"
]
},
"autoload-dev": {
"psr-4": {
Expand Down Expand Up @@ -104,7 +109,8 @@
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"php-http/discovery": true
"php-http/discovery": true,
"wikimedia/composer-merge-plugin": true
}
},
"minimum-stability": "stable",
Expand Down
Loading

0 comments on commit bc33b3e

Please sign in to comment.