mirror of
https://github.com/ash-project/ash_phoenix.git
synced 2024-09-20 07:12:49 +12:00
2.1 KiB
2.1 KiB
AshPhoenix
Welcome! This is the package for integrating Phoenix Framework and Ash Framework. It provides tools for integrating with Phoenix forms (AshPhoenix.Form
), Phoenix LiveViews (AshPhoenix.LiveView
) and more.
Installation
Add ash_phoenix
to your list of dependencies in mix.exs
:
{:ash_phoenix, "~> 2.1.1"}
Whats in the box?
AshPhoenix.Form
- A form data structure for using resource actions with phoenix formsAshPhoenix.Form.Auto
- Tools to automatically determine nested form structures based on calls tomanage_relationship
for an action.AshPhoenix.FilterForm
- A form data structure for building filter statementsAshPhoenix.LiveView
- Helpers for querying data and integrating changesAshPhoenix.SubdomainPlug
- A plug to determine a tenant using subdomains for multitenancyAshPhoenix.FormData.Error
- A protocol to allow errors to be rendered in formsPhoenix.HTML.Safe
implementations forAsh.CiString
,Ash.NotLoaded
andDecimal
AshPhoenix.SubdomainPlug
for multitenant subdomain-based applications.mix ash_phoenix.gen.live
for generating liveview modulesmix ash_phoenix.gen.html
for generating controllers and views