alvin/phpmvc

A lightweight php mvc framework

v0.1.2 2021-05-15 19:06 UTC

This package is auto-updated.

Last update: 2024-05-16 16:54:23 UTC


README

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.