FindSoftware

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

Status
Active
Maintainer
Joel Drapper5
First release
20224

Rendering and deploy

Rendering
On a server1
Install with
bundle add phlex-rails7

Releases

Current major version
28
Last release
2026-02-068

Adoption

GitHub stars
1,5312
Contributors
499
Dependent repositories
1710
Dependent packages
2210

Why these figures do not compare

Sources

  1. 2026-10-27: links, Categories, Rendering
    www.phlex.fun/
  2. 2026-10-27: links, Written in, License, License model, GitHub stars
    api.github.com/repos/yippee-fun/phlex
  3. 2026-10-27: links
    www.phlex.fun/introduction/
  4. 2026-10-27: First release
    rubygems.org/api/v1/versions/phlex.json
  5. 2026-10-27: Maintainer
    github.com/yippee-fun/phlex/blob/main/LICENSE.txt
  6. 2026-10-27: Runtime, Minimum runtime
    github.com/yippee-fun/phlex/blob/2.4.1/phlex.gemspec
  7. 2026-10-27: Install with
    www.phlex.fun/introduction/getting-started.html
  8. 2026-10-27: Current major version, Last release
    github.com/yippee-fun/phlex/releases
  9. 2026-10-27: Contributors
    api.github.com/repos/yippee-fun/phlex/contributors?per_page=1
  10. 2026-10-27: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/phlex

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON