Skip to content
vic

svard/elm-phoenix

Native Phoenix channels in Elm

svard/elm-phoenix.json
{
"createdAt": "2015-10-14T17:28:42Z",
"defaultBranch": "master",
"description": "Native Phoenix channels in Elm",
"fullName": "svard/elm-phoenix",
"homepage": "",
"language": "Elm",
"name": "elm-phoenix",
"pushedAt": "2016-05-24T11:12:17Z",
"stargazersCount": 46,
"topics": [],
"updatedAt": "2020-11-19T12:21:23Z",
"url": "https://github.com/svard/elm-phoenix"
}

Native Phoenix channels in Elm

Consider http://package.elm-lang.org/packages/NoRedInk/elm-phoenix/1.0.0/ instead for Elm 0.17 Phoenix integration.

An implementation of Phoenix channels in Elm inspired by mgold’s elm-socketio.

The Chat example in the context of a Phoenix app can be found here https://github.com/svard/hello_phoenix.

Currently this package have not been published as an elm package so in order to use it in a project a few manual steps are required. First the folder structure svard/elm-phoenix/2.0.0 must be created under elm-stuff/packages. Then elm-phoenix’s src folder and elm-package.json file need to be copied to the newly created svard/elm-phoenix/2.0.0. Last include

"svard/elm-phoenix": "2.0.0 <= v < 3.0.0"

in elm-package.json and

"svard/elm-phoenix": "2.0.0"

in elm-stuff/exact-dependencies.json.