https://github.com/aosasona/phlo
A microframework for rapid modern web development in PHP
https://github.com/aosasona/phlo
microframework php
Last synced: 4 months ago
JSON representation
A microframework for rapid modern web development in PHP
- Host: GitHub
- URL: https://github.com/aosasona/phlo
- Owner: aosasona
- Created: 2024-02-15T13:37:04.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-20T11:17:19.000Z (over 1 year ago)
- Last Synced: 2025-08-26T12:51:07.820Z (5 months ago)
- Topics: microframework, php
- Language: PHP
- Homepage: https://packagist.org/packages/trulyao/phlo
- Size: 47.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Phlo
> [!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
- [x] File-based Routing
- [x] File-scoped and folder-scoped middleware
- [x] Nested wildcard routes
- [x] Zero third-party dependencies
- [x] Built-in support for environment variables (from `.env` files and the system)
- [x] Built-in support for default NOT FOUND pages
- [ ] Built-in support for custom error handlers (coming soon)
- [x] 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:
```sh
composer require trulyao/phlo
```
Or you can add this repo as a submodule in your project.
# Usage
See [this repo](https://github.com/aosasona/phlo-template) for a demo and example usage.