Skip to content

Commit

Permalink
Added extension system
Browse files Browse the repository at this point in the history
  • Loading branch information
korridor committed Mar 27, 2024
1 parent b68e6df commit b505dda
Show file tree
Hide file tree
Showing 10 changed files with 984 additions and 62 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
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ yarn-error.log
/blob-report/
/playwright/.cache/
/coverage
/extensions/*
/extensions
!/extensions/.gitkeep
/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');
}
}
}
13 changes: 11 additions & 2 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 @@ -39,6 +41,7 @@
"autoload": {
"psr-4": {
"App\\": "app/",
"Extensions\\": "extensions/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
Expand Down Expand Up @@ -90,6 +93,11 @@
"dont-discover": [
"laravel/telescope"
]
},
"merge-plugin": {
"include": [
"extensions/*/composer.json"
]
}
},
"repositories": [
Expand All @@ -104,7 +112,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 b505dda

Please sign in to comment.