Zenith is an experimental research project. It is NOT production-ready. The security features and type analysis are in prototype/development stage, and should not be relied upon for critical applications.
Zenith is a programming language that transpiles to PHP 8.4+. It is designed to explore modern functional syntax, safe-by-default database queries, and simplified concurrency on top of the PHP ecosystem.
Zenith aims to solve specific ergonomic and safety pain points through syntax-level integration:
- Simplified Concurrency: Native
spawnblocks that handle PHP Fibers automatically. - Safe-by-default SQL: Inline SQL queries that are validated and parameterized at compile-time.
- Functional Ergonomics: Native pipe operator
|>and built-in memoization support. - Static Analysis: Built-in Zenith Analyzer for detecting common pitfalls like path traversal and SQL injection during development.
# Linux/MacOS
curl -fsSL https://neevets.github.io/zenith/install.sh | sh -s -- -y
# Windows (PowerShell)
iwr -useb https://neevets.github.io/zenith/install.ps1 | iexTo protect users, Zenith will NO LONGER download managed PHP binaries automatically. You must have PHP 8.4 installed on your system or explicitly set
ZENITH_AUTO_INSTALL_RUNTIME=1.
See full installer usage in docs/installation.md.
This project is licensed under the GNU GPL v3 License.
Contributions are welcome! Please read the CONTRIBUTING.md file for more information.