https://github.com/sebastiandedeyne/phoenix_extra_generators
Extra generator commands for Phoenix
https://github.com/sebastiandedeyne/phoenix_extra_generators
Last synced: 3 months ago
JSON representation
Extra generator commands for Phoenix
- Host: GitHub
- URL: https://github.com/sebastiandedeyne/phoenix_extra_generators
- Owner: sebastiandedeyne
- License: mit
- Created: 2017-10-31T16:19:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-03T22:59:39.000Z (over 7 years ago)
- Last Synced: 2025-04-14T13:00:11.291Z (3 months ago)
- Language: Elixir
- Homepage: https://hex.pm/packages/phoenix_extra_generators
- Size: 18.6 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# PhoenixExtraGenerators
[](https://hex.pm/packages/phoenix_extra_generators)
[](https://hex.pm/packages/phoenix_extra_generators)
[](https://travis-ci.org/sebastiandedeyne/phoenix_extra_generators)Provides extra generator commands for [Phoenix](http://phoenixframework.org/).
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:
```elixir
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 ` or browse the docs on [HexDocs](https://hexdocs.pm/phoenix_extra_generators).
## Changelog
Please see [CHANGELOG](https://github.com/sebastiandedeyne/phoenix_extra_generators/blob/master/CHANGELOG.md) for more information what has changed recently.
## Testing
```bash
$ mix test
```## Contributing
Pull requests are welcome!
## Credits
The generators are based on the code distributed in the [Phoenix framework](https://github.com/phoenixframework/phoenix).
- [Sebastian De Deyne](https://github.com/sebastiandedeyne)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please check the [LICENSE](https://github.com/sebastiandedeyne/phoenix_extra_generators/blob/master/LICENSE.md) for more information.