Skip to main content

Blog

Find the newest information about Phel in our Blog.

· 3 min read

REPL-Driven Development in Phel

Live functions, *1 chaining, load-file reloads, tap> debugging. The Lisp workflow on PHP.

Read post →
· 5 min read

Destructuring Deep Dive in Phel

Pull apart nested vectors and maps, use :keys, :or, :as, & rest, and destructure JSON payloads the way Clojure developers do.

Read post →
· 4 min read

Writing Your First Macro in Phel

Learn how macros let you extend the language itself, with step-by-step examples that turn repetitive patterns into reusable syntax.

Read post →
· 3 min read

Pattern Matching: Writing Cleaner Code with Less Conditional Logic

Trade if/elseif chains for case and cond, with PHP-friendly examples that show when each match shines.

Read post →
· 3 min read

Immutability in Phel: Why Your Data Should Never Change

See how persistent data structures make day-to-day Phel code predictable, testable, and side-effect free.

Read post →
· 1 min read

Threading Macros in Phel: Thread-First vs. Thread-Last

Compare the thread-first and thread-last macros and learn which one keeps each pipeline readable.

Read post →
· 2 min read

Loop and Recur: Tail-Recursive Iteration Made Easy

Learn how Phel's loop and recur forms give you tail-recursive iteration without losing readability.

Read post →
· 1 min read

Map, Filter, Reduce: Your First Functional Toolkit in Phel

A quick tour of map, filter, and reduce in Phel with easy examples you can paste into the REPL.

Read post →
· 3 min read

Functional Programming in PHP: Lessons from My First Experiments

A PHP developer shares early experiments with functional ideas and what they sparked for Phel.

Read post →