Go to file
2024-05-17 18:08:47 -05:00
.github chore: enable dependabot for mix dependencies. 2024-04-11 09:32:18 +12:00
config docs: overhaul docs 2024-05-01 15:25:16 -04:00
documentation fix: improve union handling 2024-05-17 18:07:52 -05:00
lib fix: improve union handling 2024-05-17 18:07:52 -05:00
logos improvement: setup project 2020-10-20 14:38:50 -04:00
priv/templates chore: update templates 2024-03-28 19:52:31 -04:00
test chore: update splode, handle new ets features 2024-04-25 22:35:57 -04:00
.check.exs feat: general cleanup, ready for initial release 2020-10-20 21:25:28 -04:00
.credo.exs fix: don't remove a form unless one exists 2022-05-16 22:42:01 -04:00
.formatter.exs improvement: initial stab at support for forms against unions 2023-08-12 19:54:35 -07:00
.gitignore improvement: decimal protocols (#51) 2022-09-12 12:20:19 -04:00
.gitpod.yml test: Nested form errors for argument attribute (#119) 2023-11-28 14:32:38 -05:00
.tool-versions improvement: add support for target and only_touched? validate opts 2023-07-19 00:35:58 -04:00
CHANGELOG.md chore: release version v2.0.1 2024-05-17 18:08:47 -05:00
FUNDING.yml improvement: setup project 2020-10-20 14:38:50 -04:00
LICENSE improvement: setup project 2020-10-20 14:38:50 -04:00
mix.exs chore: release version v2.0.1 2024-05-17 18:08:47 -05:00
mix.lock chore(deps): bump ash from 3.0.1 to 3.0.2 (#188) 2024-05-16 08:24:28 -05:00
README.md chore: release version v2.0.1 2024-05-17 18:08:47 -05:00

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

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
  • AshPhoenix.SubdomainPlug for multitenant subdomain-based applications.
  • mix ash_phoenix.gen.live for generating liveview modules
  • mix ash_phoenix.gen.html for generating controllers and views

Tutorials

Topics