gtdxyz/suda

suda system

Installs: 206

Dependents: 2

Suggesters: 0

Security: 0

Stars: 10

Watchers: 2

Forks: 1

Open Issues: 0

Language:JavaScript

11.0.5 2024-08-02 04:44 UTC

README

Laravel Suda - build mutiple extensions, private SaaS.

Latest Stable Version Total Downloads Latest Unstable Version PHP Version Require composer.lock

Versions

Requirments

PHP >= 8.2+

Install

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',
    // ],
],

Suda 11.x

Suda 10.x

Suda 9.x