Go to file
2024-07-26 12:13:08 -04:00
.github ci: dependabot weekly 2024-06-19 10:14:29 -04:00
config fix: properly transform nested params 2024-06-04 00:43:37 -04:00
documentation docs: Use AshPhoenix.Form.submit/2 instead of calling context functions (#220) 2024-06-30 10:59:50 -04:00
lib fix: Use :public? instead of :private? (#221) 2024-07-07 16:43:39 -04: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 test: remove unused variable in tests 2024-06-24 22:16:39 -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.1.0 2024-07-26 12:13:08 -04: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.1.0 2024-07-26 12:13:08 -04:00
mix.lock chore(deps): bump ash in the production-dependencies group (#228) 2024-07-25 09:36:16 -04:00
README.md chore: release version v2.1.0 2024-07-26 12:13:08 -04: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.1.0"}

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