Skip to content

johnsquibb/php-microframework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-microframework

A minimal PHP 8 microframework for websites.

Features

  • Automatic routing based on URL path, e.g. https://domain/controller/method/parameters...
  • Twig templates with Bootstrap 5 base template

Development Status

The framework is currently in development and subject to frequent change. A stable version with tagged release will be made available when ready.

Installation

composer create-project johnsquibb/php-microframework:dev-main

Setup

Point the desired web server at the public directory and modify the contents of index.php to add additional controller search paths.

Run

Use the builtin PHP server to serve from the public directory during development:

php -S localhost:8080 -t public

Then visit: http://localhost:8080 to view the demo.

About

A minimal PHP 8 microframework for websites.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published