https://github.com/ash-project/ash_phoenix
Utilities for integrating Ash and Phoenix
https://github.com/ash-project/ash_phoenix
ash elixir phoenix
Last synced: about 2 months ago
JSON representation
Utilities for integrating Ash and Phoenix
- Host: GitHub
- URL: https://github.com/ash-project/ash_phoenix
- Owner: ash-project
- License: mit
- Created: 2020-10-21T01:32:22.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-08T17:27:04.000Z (about 2 months ago)
- Last Synced: 2025-05-08T18:35:12.795Z (about 2 months ago)
- Topics: ash, elixir, phoenix
- Language: Elixir
- Homepage: https://hexdocs.pm/ash_phoenix
- Size: 1.2 MB
- Stars: 127
- Watchers: 5
- Forks: 75
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-ash-framework - ash_phoenix - Utilities for integrating Ash and Phoenix. (Extensions / other)
- awesome-ash-framework - ash_phoenix - Utilities for integrating Ash and Phoenix. (Extensions / other)
README


[](https://opensource.org/licenses/MIT)
[](https://hex.pm/packages/ash_phoenix)
[](https://hexdocs.pm/ash_phoenix)# AshPhoenix
Welcome! This is the package for integrating [Phoenix Framework](https://www.phoenixframework.org) and [Ash Framework](https://hexdocs.pm/ash). 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`:
```elixir
{:ash_phoenix, "~> 2.3.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`
- `mix ash_phoenix.gen.live` for generating liveview modules
- `mix ash_phoenix.gen.html` for generating controllers and views## Tutorials
- [Getting Started with Ash and Phoenix](documentation/tutorials/getting-started-with-ash-and-phoenix.md)
## Topics
- [Union Forms](documentation/topics/union-forms.md)
- [Nested Forms](documentation/topics/nested-forms.md)