Skip to content

Commit 13e39d0

Browse files
author
Curtis Delicata
committed
Update dependencies
1 parent 54ec8ed commit 13e39d0

File tree

6 files changed

+11657
-2
lines changed

6 files changed

+11657
-2
lines changed

app/Models/SiteSettings.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
namespace App\Models;
4+
5+
use Illuminate\Database\Eloquent\Factories\HasFactory;
6+
use Illuminate\Database\Eloquent\Model;
7+
8+
class SiteSettings extends Model
9+
{
10+
use HasFactory;
11+
12+
protected $fillable = [
13+
'name',
14+
'currency',
15+
'default_language',
16+
'address',
17+
'country',
18+
'email',
19+
'phone_01',
20+
'phone_02',
21+
'phone_03',
22+
'facebook',
23+
'twitter',
24+
'github',
25+
'youtube'
26+
];
27+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
namespace App\Providers;
4+
5+
use Illuminate\Support\ServiceProvider;
6+
use Raza9798\SiteConfig\SiteConfig;
7+
8+
class SiteSettingsServiceProvider extends ServiceProvider
9+
{
10+
/**
11+
* Register services.
12+
*/
13+
public function register(): void
14+
{
15+
$this->app->singleton('siteconfig', function () {
16+
return new SiteConfig();
17+
});
18+
}
19+
20+
/**
21+
* Bootstrap services.
22+
*/
23+
public function boot(): void
24+
{
25+
//
26+
}
27+
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
"bezhansalleh/filament-shield": "^3.2",
1313
"filament/filament": "^3.2",
1414
"guzzlehttp/guzzle": "^7.8",
15-
"intelrx/sitesettings": "^2.0",
1615
"joelbutcher/socialstream": "^6.0",
1716
"laravel/framework": "^11.0",
1817
"laravel/jetstream": "^5.1",
1918
"laravel/sanctum": "^4.0",
2019
"laravel/tinker": "^2.9",
2120
"livewire/livewire": "^3.5",
21+
"raza9798/siteconfig": "^3.2",
2222
"spatie/laravel-menu": "^4.2",
2323
"stephenjude/filament-jetstream": "^0.0.12"
2424
},

0 commit comments

Comments
 (0)