wip on structure

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

No files matched your search

BIN
View File
Binary file not shown.
+11
View File
@@ -0,0 +1,11 @@
<?php
/**
* Application locales
*
* @return array<string, string>
*/
function appLocales(): array
{
return config()->array('app.locales');
}
BIN
View File
Binary file not shown.
+1
View File
@@ -21,5 +21,6 @@ public function register(): void
public function boot(): void public function boot(): void
{ {
Model::unguard(); Model::unguard();
Model::shouldBeStrict(! app()->isProduction());
} }
} }
+4 -1
View File
@@ -27,7 +27,10 @@
"App\\": "app/", "App\\": "app/",
"Database\\Factories\\": "database/factories/", "Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/" "Database\\Seeders\\": "database/seeders/"
} },
"files": [
"app/Helpers/helpers.php"
]
}, },
"autoload-dev": { "autoload-dev": {
"psr-4": { "psr-4": {