Im faceing problem when i click Tools -> bread -> {any table} -> add BREAD to this table -> { im createing bread } -> submit -> see error.
BindingResolutionException
Target class [App\UserRole] does not exist.
It pops up to any table.
Steps to reproduce the behavior:

Only things i have done, are create laravel project, and add voyager to it. When i try to add bread, it does not work. Rest of voyager functionalities like menu builder work.
The BREAD builder does not create models.
Only the database tool creates one if you create a new table and select "Create model".
So you just have to create the model, either by running php artisan make:model YourModel or by using the database tool.
I believe you should reopen this. I followed the same steps as @mikolajborowski said, and even selected "Create model" while making the table.
Afterwards I tried to make bread, and it failed because of a missing model.
It only worked after I manually run php artisan make:model MyModel
Illuminate\Contracts\Container\BindingResolutionException
Target class [App\Product] does not exist.
probleme in laravel 8
@mikolajborowski
@kamel7dz
If you are using a newer version of Laravel:
When making BREAD, use App \ Models \ Your_Model - instead of App \ Your_Model
Hello,
This happened to me when I changed a table name (from host/admin/database/{table}).
When changing a table name don't forget to change the model file name and the model class name.
Hope this helps!
@mikolajborowski
@kamel7dz
If you are using a newer version of Laravel:
When making BREAD, use App \ Models \ Your_Model - instead of App \ Your_Model
This is the solution. I faced with the same problem due to my carelessness. This fixed it. Thanks.
Most helpful comment
@mikolajborowski
@kamel7dz
If you are using a newer version of Laravel:
When making BREAD, use App \ Models \ Your_Model - instead of App \ Your_Model