first commit

This commit is contained in:
2025-09-01 15:06:58 +02:00
commit d8b89fc4fe
5702 changed files with 1021992 additions and 0 deletions
@@ -0,0 +1,24 @@
<?php
namespace Vanguard\Http\Controllers\Api;
use Setting;
/**
* @package Vanguard\Http\Controllers\Api\Settings
*/
class SettingsController extends ApiController
{
public function __construct()
{
$this->middleware('permission:settings.general');
}
/**
* System settings.
* @return \Illuminate\Http\JsonResponse
*/
public function index()
{
return response()->json(Setting::all());
}
}