%PDF- %PDF-
Direktori : /www/loslex_o/production/app/Providers/ |
Current File : /www/loslex_o/production/app/Providers/AppServiceProvider.php |
<?php namespace App\Providers; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Log; use Illuminate\Support\ServiceProvider; use Illuminate\Validation\Rules\Password; class AppServiceProvider extends ServiceProvider { /** * Register any application services. */ public function register(): void { // } /** * Bootstrap any application services. */ public function boot(): void { // Password defaults - minimum 8 characters, uppercase and lowecase letters, digit Password::defaults(fn () => Password::min(8)->letters()->mixedCase()->numbers()); //Model::preventLazyLoading(! $this->app->isProduction()); } }