Generators
Generators copied to clipboard
backpack:crud SomeEntity throws an error in mongodb
Installed mongo db and backpack. Everything went smooth.
Tried to create a crud with php artisan backpack:crud Article.

It seems the error is raised on this line https://github.com/Laravel-Backpack/Generators/blob/1a773bf6e354b9d888282c1e18ab28fad4d7a01d/src/Console/Commands/CrudControllerBackpackCommand.php#L141
I think there is a bigger issue in general, and I am not sure we can easily fix it, since ALL mongodb models should extend Jenssegers\Mongodb\Eloquent\Model and not the regular Laravel\Model.