Skip to content
@phel-lang

The Phel Language

Phel is a functional programming language that compiles to PHP. It is a dialect of Lisp inspired by Clojure and Janet.

Phel logo

Phel

A functional, Lisp-inspired language that compiles to PHP.
Macros, persistent data structures, REPL. Inspired by Clojure.

phel-lang.org  ·  Getting Started  ·  Awesome Phel  ·  Discussions


Start in 30 seconds

composer require phel-lang/phel-lang
./vendor/bin/phel repl

Or click Use this template on a starter:

Editor support

Libraries

  • phel-pdo: PDO wrapper for databases
  • phel-sql: data-driven SQL DSL (HoneySQL-style)
  • phel-log: data-driven logging with PSR-3 / Monolog bridge

Built with Phel

Add yours via a PR to awesome-phel.

Get involved

Star the main repo, open an issue, or join the conversation in Discussions.

Pinned Loading

  1. phel-lang phel-lang Public

    A functional, Lisp-inspired language that compiles to PHP. Inspired by Clojure, Phel brings macros, persistent data structures, and expressive functional idioms to the PHP ecosystem.

    PHP 536 35

  2. phel-lang.org phel-lang.org Public

    Website and documentation for Phel, a functional Lisp dialect that compiles to PHP

    PHP 15 8

  3. cli-skeleton cli-skeleton Public template

    A simple skeleton to build your cli-app using Phel.

    Shell 4 3

  4. web-skeleton web-skeleton Public template

    A simple skeleton to build a website using Phel.

    Shell 16 2

  5. phel-intellij-plugin phel-intellij-plugin Public

    Official Phel Lang Plugin

    Kotlin 15 2

  6. clojure-test-suite clojure-test-suite Public

    Forked from jank-lang/clojure-test-suite

    clojure-test-suite support for Phel

    Clojure 3 1

Repositories

Showing 10 of 18 repositories
  • phel-vs-code-extension Public

    Phel language support for VS Code: syntax highlighting, completion, hover, signature help, diagnostics, REPL, paredit, refactoring, and an Xdebug debug adapter for .phel files.

    phel-lang/phel-vs-code-extension's past year of commit activity
    TypeScript 8 MIT 1 3 1 Updated Nov 23, 2026
  • cli-skeleton Public template

    A simple skeleton to build your cli-app using Phel.

    phel-lang/cli-skeleton's past year of commit activity
    Shell 4 MIT 3 0 1 Updated Nov 23, 2026
  • phel-intellij-plugin Public

    Official Phel Lang Plugin

    phel-lang/phel-intellij-plugin's past year of commit activity
    Kotlin 15 MIT 2 2 2 Updated Nov 23, 2026
  • phel-lang Public

    A functional, Lisp-inspired language that compiles to PHP. Inspired by Clojure, Phel brings macros, persistent data structures, and expressive functional idioms to the PHP ecosystem.

    phel-lang/phel-lang's past year of commit activity
    PHP 536 MIT 35 3 0 Updated Nov 17, 2026
  • clojure-test-suite Public Forked from jank-lang/clojure-test-suite

    clojure-test-suite support for Phel

    phel-lang/clojure-test-suite's past year of commit activity
    Clojure 3 MPL-2.0 46 0 1 Updated Nov 16, 2026
  • phel-lang.org Public

    Website and documentation for Phel, a functional Lisp dialect that compiles to PHP

    phel-lang/phel-lang.org's past year of commit activity
    PHP 15 MIT 8 4 2 Updated Nov 16, 2026
  • phel-pdo Public

    phel-lang pdo wrapper library

    phel-lang/phel-pdo's past year of commit activity
    Shell 6 MIT 0 0 0 Updated Nov 16, 2026
  • phel-log Public

    Data-driven logging library for Phel. Levels, namespace filtering, pluggable appenders, PSR-3 adapter, Monolog handler bridge. Inspired by Timbre + Monolog.

    phel-lang/phel-log's past year of commit activity
    Shell 6 MIT 1 0 0 Updated Nov 16, 2026
  • phel-sql Public

    Data-driven SQL DSL for Phel Lang. HoneySQL-style. Pure data in, [sql params] out.

    phel-lang/phel-sql's past year of commit activity
    Shell 5 MIT 0 0 0 Updated Nov 16, 2026
  • web-skeleton Public template

    A simple skeleton to build a website using Phel.

    phel-lang/web-skeleton's past year of commit activity
    Shell 16 2 0 0 Updated Nov 15, 2026