Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastiandedeyne/phoenix_extra_generators
Extra generator commands for Phoenix
https://github.com/sebastiandedeyne/phoenix_extra_generators
Last synced: 28 days 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-03T22:59:39.000Z (about 7 years ago)
- Last Synced: 2024-10-05T06:36:43.279Z (about 1 month ago)
- Language: Elixir
- Homepage: https://hex.pm/packages/phoenix_extra_generators
- Size: 18.6 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# PhoenixExtraGenerators
[![Hex.pm](https://img.shields.io/hexpm/v/phoenix_extra_generators.svg)](https://hex.pm/packages/phoenix_extra_generators)
[![Hex.pm](https://img.shields.io/hexpm/dt/phoenix_extra_generators.svg)](https://hex.pm/packages/phoenix_extra_generators)
[![Travis](https://img.shields.io/travis/sebastiandedeyne/phoenix_extra_generators.svg)](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.