phoenix_extra_generators

Extra generator commands for Phoenix

MIT License

Downloads
520
Stars
10
Committers
1

PhoenixExtraGenerators

Provides extra generator commands for Phoenix.

Two new commands will be available in your Phoenix app:

mix phx.gen.controller   # Generates a Phoenix controller
mix phx.gen.view         # Generates a Phoenix view

Installation

Add phoenix_extra_generators to your list of dependencies in mix.exs. You'll probably only want to include it in dev:

def deps do
  [
    {:phoenix_extra_generators, "~> 1.0.0", only: :dev}
  ]
end

Usage

Once the package is installed, the additional mix commands are ready for use.

For additional documentation on the commands, use mix help <command> or browse the docs on HexDocs.

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

$ mix test

Contributing

Pull requests are welcome!

Credits

The generators are based on the code distributed in the Phoenix framework.

License

The MIT License (MIT). Please check the LICENSE for more information.