# Phlex

Ruby gem for building HTML and SVG views as object-oriented components.


Source: https://findsoftware.frbit.cloud/phlex/
Last reviewed: 2026-10-27
Listed since: 2026-10-27

## Record

### Links

- home: https://www.phlex.fun
- repository: https://github.com/yippee-fun/phlex
- docs: https://www.phlex.fun/introduction/
- forum: https://www.rubyforum.org/tag/phlex

### Identity

- status: active
- maintainer: Joel Drapper
- maintainerType: unknown
- parent: unknown
- firstRelease: 2022
- hqCountry: unknown

### Kind

- category: ui-library
- hosting: not applicable
- language: ruby
- runtime: ruby
- runtimeMin: ruby 3.2
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: server
- installMethod: bundle add phlex-rails

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 2
- latestReleaseDate: 2026-02-06

### Adoption

- githubStargazers: 1531
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 49
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 17
- dependentPackages: 22

### Sources

- urls: https://www.phlex.fun/ (read 2026-10-27)
- urls: https://api.github.com/repos/yippee-fun/phlex (read 2026-10-27)
- urls: https://www.phlex.fun/introduction/ (read 2026-10-27)
- firstRelease: https://rubygems.org/api/v1/versions/phlex.json (read 2026-10-27)
- maintainer: https://github.com/yippee-fun/phlex/blob/main/LICENSE.txt (read 2026-10-27)
- language: https://api.github.com/repos/yippee-fun/phlex (read 2026-10-27)
- runtime: https://github.com/yippee-fun/phlex/blob/2.4.1/phlex.gemspec (read 2026-10-27)
- runtimeMin: https://github.com/yippee-fun/phlex/blob/2.4.1/phlex.gemspec (read 2026-10-27)
- category: https://www.phlex.fun/ (read 2026-10-27)
- installMethod: https://www.phlex.fun/introduction/getting-started.html (read 2026-10-27)
- renderingModes: https://www.phlex.fun/ (read 2026-10-27)
- license: https://api.github.com/repos/yippee-fun/phlex (read 2026-10-27)
- licenseModel: https://api.github.com/repos/yippee-fun/phlex (read 2026-10-27)
- currentMajor: https://github.com/yippee-fun/phlex/releases (read 2026-10-27)
- latestReleaseDate: https://github.com/yippee-fun/phlex/releases (read 2026-10-27)
- githubStargazers: https://api.github.com/repos/yippee-fun/phlex (read 2026-10-27)
- contributors: https://api.github.com/repos/yippee-fun/phlex/contributors?per_page=1 (read 2026-10-27)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/phlex (read 2026-10-27)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/phlex (read 2026-10-27)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
