Effortless new PHP syntax

Pre makes your code nicer

Pre introduces new syntax, with the aim of helping you write better code. Some features reduce the boilerplate code you need to type. Others introduce patterns inspired by modern programming languages.

You type

Pre generates

Pre is easy to use

No re-installing PHP. No extensions. It will convert any PSR-4 loaded files, ending in .pre, or you can manually convert any files you want.