A package with some extra phoenix generators

Hi all!

I often want to quickly create a controller or view, not necessarily tied to an entire context/model.

Right now I copy an existing controller/view, and strip it down to a new one. These generators look pretty small, but imo it would be a great workflow improvement to be able to generate these from the command line.

There wasn’t any interest in maintaining this in Phoenix itself, so I made a little package with controller and view generators. Might expand later!

6 Likes

These are awesome starts! I have a host of simple generators I use (though I’ve been too lazy to implement the tests for the simple controllers and such as well) so I may start porting those over with PR’s once I get around to using this. ^.^