Hi, +1 for this package, I have an issue where I actually create Models directory to be more modular Models/User.php and thus it sees the App\User.php instead of App\Models\User.php however thats not an issue cause we could modify just that line. Could this be made optional as of now it can't publish to vendor
Error
Class 'App\User' not found
at vendor/imanghafoori/laravel-password-history/src/PasswordHistoryServiceProvider.php:31
27| {
28| $userModels = array_keys(config('password_history.models'));
29|
30| foreach ($userModels as $userModel) {
> 31| $userModel::observe(UserObserver::class);
32| }
33| }
34|
35| private function setMigrationFolder()
+9 vendor frames
10 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(Imanghafoori\PasswordHistory\PasswordHistoryServiceProvider))
+5 vendor frames
16 artisan:37
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
Hi, +1 for this package, I have an issue where I actually create Models directory to be more modular
Models/User.php
and thus it sees theApp\User.php
instead ofApp\Models\User.php
however thats not an issue cause we could modify just that line. Could this be made optional as of now it can't publish to vendor