- Introduced routes for managing admin settings including system, homepage, social media, marketplace, and HR settings. - Created a comprehensive test suite for the AdminSettingsController to ensure proper functionality and validation of settings updates. - Implemented tests for authentication, data integrity, and realistic user scenarios to validate the settings management process.
20 lines
336 B
PHP
20 lines
336 B
PHP
<?php
|
|
|
|
namespace App\Settings;
|
|
|
|
use Spatie\LaravelSettings\Settings;
|
|
|
|
class SystemSettings extends Settings
|
|
{
|
|
public string $app_name;
|
|
public ?string $address;
|
|
public ?string $about_app;
|
|
public ?string $email;
|
|
public ?string $phone;
|
|
|
|
public static function group(): string
|
|
{
|
|
return 'system';
|
|
}
|
|
}
|