trulyao/phlo

There is no license information available for the latest version (0.4.3) of this package.

A tiny microframework for rapid modern web development

0.4.3 2024-05-20 11:16 UTC

This package is auto-updated.

Last update: 2024-09-20 12:01:24 UTC


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.