JeffreyWay/Laravel-Generator — pull request #36 by dragon-bird (2013-04-11 20:20:50+00:00)
Title: Model generation is smarter now

You can now generate models like this

artisan generate:model User has_many:posts,comments has_one:phone belongs_to:city has_many_and_belongs_to:departments timestamps:false

_Will generate a model User with relationships_
**has_many** : posts
**has_many** : comments
**has_one** : phone
**belongs_to** : city
**has_many_and_belongs_to** : departments

**timestamps** can be _true_ or _false_, if not provided it will default to _true_