trulyao / phlo
A tiny microframework for rapid modern web development
Installs: 74
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 2
pkg:composer/trulyao/phlo
Requires
- php: >=8.2
README
Warning
This project is still in its early stages and is not ready for heavy production use.
Pronounced as 'flow', Phlo is a microframework for rapid modern web development in PHP.
Features
- File-based Routing
- File-scoped and folder-scoped middleware
- Nested wildcard routes
- Zero third-party dependencies
- Built-in support for environment variables (from
.env
files and the system) - Built-in support for default NOT FOUND pages
- Built-in support for custom error handlers (coming soon)
- Supports JavaScript frameworks like Astro, Vue, Svelte, etc.
Note
This documentation is a work in progress. Please check back later for more information.
Getting Started
Phlo is now available via composer:
composer require trulyao/phlo
Or you can add this repo as a submodule in your project.
Usage
See this repo for a demo and example usage.