Skip to content
@getelephc

getelephc

elephc logo

elephc

Write PHP. Ship a native binary.

Compiler stars Compiler downloads License: MIT

PHP to native · macOS · Linux · open source

Tools, experiments, and showcases around elephc, a compiler that turns a supported subset of PHP into native executables and libraries. Explore systems programming, build command-line tools, and bring PHP beyond the web.

Official website · Documentation · Releases


Start here

The compiler is developed in illegalstudio/elephc. This organization brings together its tooling and experiments.

Projects

Project What you will find
elephc The PHP-to-native compiler, language documentation, examples, and releases.
elvm Install compiler versions side by side and pin a version per project.
DOOM DOOM rendered in PHP and compiled to a native binary. A read-only mirror of the compiler's showcase.
Laravel Work in progress exploring Laravel compilation with elephc.
Tempest Work in progress exploring Tempest compilation with elephc.

PHP, running DOOM

DOOM rendered in PHP and running as an elephc-compiled native binary

Explore the DOOM showcase for source, build instructions, and a walkthrough.

Get involved

elephc is experimental and evolving. It compiles a supported subset of PHP, and the framework projects above are ongoing compatibility experiments.

Report compiler bugs and propose improvements in elephc issues. For compiler and DOOM showcase contributions, start with the contributing guide. For elvm, use its own issue tracker.

Pinned Loading

  1. laravel laravel Public

    Work in progress to compile Laravel with Elephc

    Blade 22 1

Repositories

Showing 6 of 6 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…