@ANDREWCLARK - Hey, a bit late to this conversation but I like the look of @martinbean's approach too. However, I've been trying it but can't get Factories to work. Taking something like your example above I want to be able to do:
But that gives me this error in Tinker:
PHP Notice: Undefined index: App/Student in /Users/Norbs/Sites/learning/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php on line 241
How can I create Factories for different types of
Make sure to restart the Tinker when you make changes in your code.
I had the same problem at the same stage as you and this solved it.