Skip to content

ash-project/ash_phoenix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f6bdbff · Mar 27, 2025
Jan 23, 2025
Jun 4, 2024
Mar 12, 2025
Mar 27, 2025
Oct 20, 2020
Jan 2, 2025
Mar 25, 2025
Oct 21, 2020
May 17, 2022
Nov 27, 2024
Sep 12, 2022
Nov 28, 2023
Jan 27, 2025
Mar 27, 2025
Oct 20, 2020
Oct 20, 2020
Mar 27, 2025
Mar 27, 2025
Mar 27, 2025

Repository files navigation

Logo Logo

Elixir CI License: MIT Hex version badge Hexdocs badge

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.25"}

Whats in the box?

  • AshPhoenix.Form - A form data structure for using resource actions with phoenix forms
  • AshPhoenix.Form.Auto - Tools to automatically determine nested form structures based on calls to manage_relationship for an action.
  • AshPhoenix.FilterForm - A form data structure for building filter statements
  • AshPhoenix.LiveView - Helpers for querying data and integrating changes
  • AshPhoenix.SubdomainPlug - A plug to determine a tenant using subdomains for multitenancy
  • AshPhoenix.FormData.Error - A protocol to allow errors to be rendered in forms
  • Phoenix.HTML.Safe implementations for Ash.CiString, Ash.NotLoaded and Decimal
  • mix ash_phoenix.gen.live for generating liveview modules
  • mix ash_phoenix.gen.html for generating controllers and views

Tutorials

Topics