# phoenix

> The official JavaScript client for the Phoenix web framework.

Latest version **1.8.14** (published 2026-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install phoenix
pnpm add phoenix
yarn add phoenix
bun add phoenix
```

## Health

**Score 78/100 (B)** — status: active.

Positive: has types package; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.8.14 |
| Published | 2026-09-14 |
| First published | 2011-12-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/phoenix) |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 467.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 23156 |
| Author | Chris McCord |
| Maintainers | chrismccord, josevalim, steffend |

## Links

- npm: https://www.npmjs.com/package/phoenix
- Repository: https://github.com/phoenixframework/phoenix
- Homepage: https://github.com/phoenixframework/phoenix#readme
- Issues: https://github.com/phoenixframework/phoenix/issues
- npm.io page: https://npm.io/package/phoenix

## Recent versions

- 1.8.14 (latest) — 2026-09-14
- 1.7.24 (old-version) — 2026-07-07
- 1.8.0-rc.4 (rc) — 2025-07-14
- 1.8.13 — 2026-08-25
- 1.8.12 — 2026-08-20
- 1.8.11 — 2026-08-12
- 1.8.10 — 2026-08-10
- 1.5.15 — 2026-07-07
- 1.6.17 — 2026-07-07
- 1.8.9 — 2026-07-07
- 1.8.8 — 2026-06-10
- 1.8.7 — 2026-05-06
- 1.7.23 — 2026-05-06
- 1.8.6 — 2026-05-05
- 1.7.22 — 2026-05-05
- … 98 more at https://npm.io/package/phoenix/versions

## README

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="./priv/static/phoenix-orange.png" />
  <source media="(prefers-color-scheme: light)" srcset="./priv/static/phoenix.png" />
  <img src="./priv/static/phoenix.png" alt="Phoenix logo" />
</picture>

> Peace of mind from prototype to production.

[![Build Status](https://github.com/phoenixframework/phoenix/workflows/CI/badge.svg)](https://github.com/phoenixframework/phoenix/actions/workflows/ci.yml) [![Hex.pm](https://img.shields.io/hexpm/v/phoenix.svg)](https://hex.pm/packages/phoenix) [![Documentation](https://img.shields.io/badge/documentation-gray)](https://phoenix.hexdocs.pm)

## Getting started

See the official site at <https://www.phoenixframework.org/>.

Install the latest version of Phoenix by following the instructions at <https://phoenix.hexdocs.pm/installation.html#phoenix>.

## Documentation

API documentation is available at <https://phoenix.hexdocs.pm>.

Phoenix.js documentation is available at <https://phoenix.hexdocs.pm/js>.

## Contributing

We appreciate any contribution to Phoenix. Check our [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) and [CONTRIBUTING.md](CONTRIBUTING.md) guides for more information. We usually keep a list of features and bugs in the [issue tracker][4].

### Generating a Phoenix project from unreleased versions

You can create a new project using the latest Phoenix source installer (the `phx.new` Mix task) with the following steps:

1. Remove any previously installed `phx_new` archives so that Mix will pick up the local source code. This can be done with `mix archive.uninstall phx_new` or by simply deleting the file, which is usually in `~/.mix/archives/`.
2. Copy this repo via `git clone https://github.com/phoenixframework/phoenix` or by downloading it
3. Run the `phx.new` Mix task from within the `installer` directory, for example:

```bash
cd phoenix/installer
mix phx.new dev_app --dev
```

The `--dev` flag will configure your new project's `:phoenix` dep as a relative path dependency, pointing to your local Phoenix checkout:

```elixir
defp deps do
  [{:phoenix, path: "../..", override: true},
```

To create projects outside of the `installer/` directory, add the latest archive to your machine by following the instructions in [installer/README.md](https://github.com/phoenixframework/phoenix/blob/main/installer/README.md)

### Building from source

To build the documentation:

```bash
MIX_ENV=docs mix docs
```

To build Phoenix:

```bash
mix deps.get
mix compile
```

To build the Phoenix installer:

```bash
mix deps.get
mix compile
mix archive.build
```

To build Phoenix.js:

```bash
mix assets.build
```

## Important links

* [#elixir][1] on [Libera][2] IRC
* [elixir-lang Slack channel][3]
* [Issues tracker][4]
* [Phoenix Forum (questions and proposals)][5]
* Visit Phoenix's sponsor, DockYard, for expert [Phoenix Consulting](https://dockyard.com/phoenix-consulting)

  [1]: https://web.libera.chat/?channels=#elixir
  [2]: https://libera.chat/
  [3]: https://elixir-lang.slack.com/
  [4]: https://github.com/phoenixframework/phoenix/issues
  [5]: https://elixirforum.com/c/phoenix-forum

## Copyright and License

Copyright (c) 2014, Chris McCord.

Phoenix source code is licensed under the [MIT License](LICENSE.md).

---
_Source: https://npm.io/package/phoenix · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
