{"id":29460706,"url":"https://github.com/karolsluszniak/phoenix_live_controller","last_synced_at":"2025-07-14T02:32:46.891Z","repository":{"id":42958778,"uuid":"255634249","full_name":"karolsluszniak/phoenix_live_controller","owner":"karolsluszniak","description":"Controller-style abstraction for building multi-action live views on top of Phoenix.LiveView","archived":false,"fork":false,"pushed_at":"2022-03-25T23:13:20.000Z","size":99,"stargazers_count":31,"open_issues_count":2,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-08T21:13:37.057Z","etag":null,"topics":["elixir","liveview","phoenix"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/phoenix_live_controller","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/karolsluszniak.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-14T14:35:23.000Z","updated_at":"2024-04-13T16:31:49.000Z","dependencies_parsed_at":"2022-09-05T07:31:22.989Z","dependency_job_id":null,"html_url":"https://github.com/karolsluszniak/phoenix_live_controller","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/karolsluszniak/phoenix_live_controller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karolsluszniak%2Fphoenix_live_controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karolsluszniak%2Fphoenix_live_controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karolsluszniak%2Fphoenix_live_controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karolsluszniak%2Fphoenix_live_controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karolsluszniak","download_url":"https://codeload.github.com/karolsluszniak/phoenix_live_controller/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karolsluszniak%2Fphoenix_live_controller/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265233753,"owners_count":23731825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elixir","liveview","phoenix"],"created_at":"2025-07-14T02:30:51.930Z","updated_at":"2025-07-14T02:32:46.770Z","avatar_url":"https://github.com/karolsluszniak.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phoenix LiveController\n\n[![License](https://img.shields.io/github/license/karolsluszniak/phoenix_live_controller.svg)](https://github.com/karolsluszniak/phoenix_live_controller/blob/master/LICENSE.md)\n[![Build status](https://img.shields.io/travis/karolsluszniak/phoenix_live_controller/master.svg)](https://travis-ci.org/karolsluszniak/phoenix_live_controller)\n[![Hex version](https://img.shields.io/hexpm/v/phoenix_live_controller.svg)](https://hex.pm/packages/phoenix_live_controller)\n\n**Controller-style abstraction for building multi-action live views on top of Phoenix.LiveView.**\n\n## Installation\n\nAdd `phoenix_live_controller` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:phoenix_live_controller, \"~\u003e 0.7.0\"}\n  ]\nend\n```\n\n## Learning\n\n- [Introductory article \u0026 guide for converting HTML resources to live controllers](http://cloudless.studio/articles/51-controller-style-approach-to-liveview-resources) with [example app](https://github.com/karolsluszniak/phoenix_live_controller_example_app)\n- [Phoenix.LiveController docs for detailed explanation \u0026 examples of live controllers](https://hexdocs.pm/phoenix_live_controller)\n- [Phoenix.LiveView docs for explanation of live view itself](https://hexdocs.pm/phoenix_live_view)\n\n## Benchmarking\n\nRepository includes a benchmark that allows to measure the worst-case impact of using live controllers with plugs on the web app:\n\n```\n$ mix run priv/bench/bench.exs\ninline compile: 0.038\ninline run: 0.026\nplug_atom compile: 0.233\nplug_atom run: 0.155\nplug_func compile: 0.234\nplug_func run: 0.148\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarolsluszniak%2Fphoenix_live_controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarolsluszniak%2Fphoenix_live_controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarolsluszniak%2Fphoenix_live_controller/lists"}