phpEZ
A lightweight PHP framework for building REST APIs in a basic LAMP environment with a single file
What does it do?
To deploy it, place phpez.php next to index.php and enter the database connection details and debug settings in index.php. Define the schema through model properties and use type hints and PHP attributes to generate repetitive code automatically. If the full framework is unnecessary, you can include selected files from sys/ instead. The repository provides a user management example covering login, sign-up, and logout.
Key features
- Deploy with a single phpez.php file
- Routing, ORM, serialization, and session management
- Automatic code generation using type hints and PHP attributes
- Use only the component files you need
- User management API example
Why did it stand out?
Single-file deployment and a basic LAMP environment are central to its design for shared hosting. It uses type hints and attributes for code generation, reducing repetitive code even in a small setup.
