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
  • phel-schema: schema validation (Zod-inspired)

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 505 29

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

    Phel website

    CSS 15 8

  3. phel-intellij-plugin phel-intellij-plugin Public

    Official Phel Lang Plugin

    Kotlin 14 1

  4. clojure-test-suite clojure-test-suite Public

    Forked from jank-lang/clojure-test-suite

    clojure-test-suite support for Phel

    Clojure 2 1

  5. cli-skeleton cli-skeleton Public template

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

    Makefile 4 3

  6. web-skeleton web-skeleton Public template

    A simple skeleton to build a website using Phel.

    PHP 16 2

Repositories

Showing 10 of 18 repositories

Top languages

Loading…

Most used topics

Loading…