Microframework

A microframework is a minimalist web application framework. They are contrasted with full-stack frameworks.

Microframeworks lack most of the functionality common to full-fledged web app frameworks, such as:

Typically, a microframework facilitates receiving an HTTP request, routing the HTTP request to the appropriate function, and returning an HTTP response. Microframeworks are often specifically designed for building the APIs for another service or application. For example, the Lumen microframework for PHP is designed for both microservices development and API development.

Pseudocode example

require "foo.php";

foo::get("/hello/{name}", function($name) {
    return "Hello $name!";
});

List of microframeworks

Below is a non-exhaustive list of microframeworks:

References

  1. ↑ "Falcon | The minimal, fast, and secure web framework for Python". falconframework.org. Retrieved 25 October 2021.
  2. ↑ "About - Flight - An extensible micro-framework for PHP". docs.flightphp.com. Retrieved 12 July 2026.