Extra generator commands for Phoenix
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib/mix/tasks
priv/templates
test
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
mix.exs

README.md

PhoenixExtraGenerators

Hex.pm Hex.pm Travis

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.