first commit

This commit is contained in:
Noor E Ilahi
2026-01-09 12:54:53 +05:30
commit 7ccf44f7da
1070 changed files with 113036 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace App\Providers;
use App;
use App\Models\Property;
use Illuminate\Support\ServiceProvider;
use Laravel\Tinker\TinkerServiceProvider;
use Settings;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*/
public function boot(): void
{
Property::loadMorphMap();
config(['app.timezone' => Settings::scope('core')->get('timezone', date_default_timezone_get())]);
}
/**
* Register any application services.
*/
public function register(): void
{
if (config('app.debug') && App::environment(['local', 'staging'])) {
$this->app->register(TelescopeServiceProvider::class);
$this->app->register(TinkerServiceProvider::class);
}
}
}