Skip to content

alvinlal/phpmvc

Repository files navigation

logo

A lightweight mvc framework for php

! This framework is not production ready
<?php

include_once './vendor/autoload.php';

use alvin\phpmvc\Application;

$app = new Application(__DIR__);

$app->get('/',function (){
    return "hello world";
});

$app->run();

Latest Unstable Version Total Downloads License

Installation

composer require alvin/phpmvc

Features

  • Middleware support
  • Session support
  • Database support
  • Database migrations support
  • Csrf protection
  • Filestorage
  • Zero dependency package

Documentation

You can view the documentation here.