Laravel Suda - build mutiple extensions, private SaaS.
Laravel | Suda | PHP |
---|---|---|
11.x | 11.x(dev) | 8.2+ |
10.x | 10.x(dev) | 8.1+ |
9.x | 9.x | 8.0.2+ |
8.x | 8.x | 8.0+ |
7.x | 5.2.1 | 7.2~7.4 |
PHP >= 8.2+
After initial Laravel project folder,
composer require gtdxyz/suda
php artisan suda:install
# auto install include migrations,assets,themes
# edit config/app.php
# Chinse
'locale' => 'zh_CN',
'timezone' => 'Asia/Shanghai',
# edit config/auth.php
'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'users',
],
// add operate
'operate' => [
'driver' => 'session',
'provider' => 'operates',
],
],
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\Models\User::class,
],
// add provider
'operates' => [
'driver' => 'authsuda_provider',
'model' => Gtd\Suda\Models\Operate::class,
],
// 'users' => [
// 'driver' => 'database',
// 'table' => 'users',
// ],
],
List | Default | Change |
---|---|---|
Default Login Path | /admin | change config/sudaconf.php |
Login Account | admin@suda.run | |
Password | suda#2021 |
List | Default | Change |
---|---|---|
Default Login Path | /admin | change config/sudaconf.php |
Login Account | admin@suda.run | |
Password | suda#2021 |
List | Default | Change |
---|---|---|
Default Login Path | /admin | change config/sudaconf.php |
Login Account | admin@gtd.xyz | |
Password | suda#2021 |