Phlex
Ruby gem for building HTML and SVG views as object-oriented components.
Phlex is a Ruby gem for writing HTML and SVG views as Ruby classes, so the markup and the Ruby code that feeds it live in the same language. The project describes it as a standalone library with zero dependencies. Most users add it to a Rails application through the phlex-rails gem, which the install step names. Phlex output is rendered on the server.
Worth knowing
Phlex uses BreakVer rather than SemVer, so the first number of its version marks breaking releases.
Identity
Rendering and deploy
- Rendering
- On a server1
- Install with
- bundle add phlex-rails7
Releases
Adoption
Sources
- 2026-10-27: links, Categories, Rendering
www.phlex.fun/ - 2026-10-27: links, Written in, License, License model, GitHub stars
api.github.com/repos/yippee-fun/phlex - 2026-10-27: links
www.phlex.fun/introduction/ - 2026-10-27: First release
rubygems.org/api/v1/versions/phlex.json - 2026-10-27: Maintainer
github.com/yippee-fun/phlex/blob/main/LICENSE.txt - 2026-10-27: Runtime, Minimum runtime
github.com/yippee-fun/phlex/blob/2.4.1/phlex.gemspec - 2026-10-27: Install with
www.phlex.fun/introduction/getting-started.html - 2026-10-27: Current major version, Last release
github.com/yippee-fun/phlex/releases - 2026-10-27: Contributors
api.github.com/repos/yippee-fun/phlex/contributors?per_page=1 - 2026-10-27: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/phlex