Phy
Phy provides a number of generators for Elixir Phoenix projects.
The generators are "opinionated" - you need to buy in to the library's approach to use them.
For example, an ok/1 helper is provided for live view returns,
allowing you to do this:
def mount(_params, _session, socket) do
socket
|> ok()
endGenerators
mix phy.gen.http_clientmix phy.gen.live_view NAMEmix phy.gen.reply_helpers
Name
phy follows phx!
Installation
If available in Hex, the package can be installed
by adding phy to your list of dependencies in mix.exs:
def deps do
[
{:phy, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/phy.