I was looking for the same thing myself, as I used to work like that in previous frameworks, but could not find it, or at least not as I wanted it, so I did my thing. You can check it out if you like:
https://github.com/Triun/laravel-model-base
It will read your database, and create the laravel eloquent models for you.
It is meant to be very flexible, so the configuration may be a little complex, and I guess that I didnt' catch up with the documentation, but you can ask me if you don't know how to make it do what you want.
Basically it has 4 customization levels:
- By out of the box modificators, configurable by the config files.
- Including interfaces and traits to your auto-generated models.
- Create your own modificators. Classes where you receive the model skeleton before it is saved, so you can add or remove properties, methods, etc.
- Generate the model base, but edit yourself the final model.
And, of course, suggestions and contributions are more than welcome.