wip on structure

This commit is contained in:
2024-10-21 18:19:54 +05:00
parent e46d11de21
commit 5ffb0f2926
5 changed files with 16 additions and 1 deletions

BIN
app/.DS_Store vendored Normal file

Binary file not shown.

11
app/Helpers/helpers.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
/**
* Application locales
*
* @return array<string, string>
*/
function appLocales(): array
{
return config()->array('app.locales');
}

BIN
app/Modules/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -21,5 +21,6 @@ class AppServiceProvider extends ServiceProvider
public function boot(): void
{
Model::unguard();
Model::shouldBeStrict(! app()->isProduction());
}
}

View File

@@ -27,7 +27,10 @@
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"files": [
"app/Helpers/helpers.php"
]
},
"autoload-dev": {
"psr-4": {