Search by

naf / app

floknapp

Starter app for your project when using NAF

Package info

github.com/nafphp/app

Language:Python

Type:project

pkg:composer/naf/app

Statistics

Installs: 24

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.2.2 2026-09-14 04:51 UTC

This package is auto-updated.

Last update: 2026-09-14 04:53:48 UTC


README

A clean starting point for building applications with NAF — the minimal and flexible PHP microframework.

"As simple as possible, as flexible as necessary."

composer create-project naf/app my-app
cd my-app
APP_ENV=dev php -S 127.0.0.1:8080 -t public

Alternatively, clone the repo manually:

git clone https://github.com/nafphp/app my-app
cd my-app
composer install

Make sure your webserver points to the /public directory as document root.

Documentation

Your first application →

Everything about this package — what it does, how it is configured and what it needs — lives in the NAF documentation. Not sure which packages you need? Start here.

Working on the starter

Read AGENTS.md for the starter layout, supported dependency versions, extension examples and HTTP verification. Create a new project with the command above; naf/app is an application skeleton, not a library to require inside another application.

Run composer validate --strict and composer test after installing dependencies. The HTTP smoke test requires Python 3.9+ and checks the actual starter through PHP's development server. CI tests locked, latest compatible and minimum supported dependencies on PHP 8.3 and 8.5.

License

MIT. Part of NAF.