# PatrickLouys/no-framework-tutorial

A small tutorial to show how to create a PHP application without a framework.

Repository: https://github.com/PatrickLouys/no-framework-tutorial
Canonical: https://ross.abutalabs.com/products/no-framework-tutorial
License: MIT
License Family: permissive
Topics: tutorial, php, framework-agnostic, dependency-injection, clean-code, solid
Last push: 2021-01-31T01:38:57+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4373, "days_push": 2041, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1556, forks 189 (observed 2026-08-28T04:05:03.233877+00:00)

## What it is
A multi-part tutorial teaching intermediate PHP developers how to build a web application from scratch without a framework, covering front controllers, routing, dependency injection, and templating. It emphasizes SOLID principles and clean code using Composer packages instead of a full framework.

## Use cases
- learn how to build a PHP application without a framework
- understand front controller pattern in PHP
- learn dependency injection in PHP from scratch
- build a simple PHP router myself
- understand SOLID principles in a real PHP project
- alternative to using Laravel or Symfony for a small app

## When to choose
- you know PHP basics and OOP and want to understand what frameworks do under the hood
- you want to build a small PHP app with only Composer packages
- you want to learn dependency injection and SOLID in practice

## When to avoid
- you are a complete PHP beginner
- you need a production-ready framework with batteries included
- you need up-to-date coverage for the latest PHP versions - the author recommends the companion book instead

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: web-framework, templating, routing, http-server
- domain: web-development, tutorials, backend
- platform: php, cross-platform
- tags: php, tutorial, no-framework, dependency-injection, solid-principles, clean-code, front-controller, learning, web-server

## Member repositories
- PatrickLouys/no-framework-tutorial (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:03.233877+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:29:58.543179+00:00, confidence not recorded.
  - readme: https://github.com/PatrickLouys/no-framework-tutorial (fetched 2026-08-28T04:05:03.233877+00:00, sha d31c180f3b07)
- Data as of 2026-08-30T08:39:29.467469+00:00.
