PHP Classes

PHP Web MVC Framework: MVC framework providing autogenerated MySQL models

Recommend this page to a friend!
  Info   View files Example   Videos Videos   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-05-16 (4 months ago) RSS 2.0 feedStarStarStarStarStar 83%Total: 1,179 This week: 2All time: 3,206 This week: 52Up
Version License PHP version Categories
webmvcframework 1.0.33BSD License5PHP 5, Databases, Libraries, Design P...


Rosario Carvello


This package is a MVC framework providing autogenerated MySQL models.

It provides base classes for creating Web applications like controllers, models and view classes, as well as, a set of MVC components for commons database operations like search, sort, paginate etc.

It uses the paradigm of "convention over configuration" for routing the requests to appropriate subsystem/controller

It avoids the mixing of HTML code with PHP code so that Web designers and programmers can cooperate better with each other.


Website structure
I need a basis structure to build my website

What is the best PHP request routing class?
I want to route my PHP HTML templates for easy navigation

Picture of Saro Carvello
  Performance   Level  
Name: Saro Carvello <contact>
Classes: 2 packages by
Country: Italy Italy
Age: 56
All time rank: 147261 in Italy Italy
Week rank: 76 Up3 in Italy Italy Up


 * index.php
 * This file is automatically invoked after every URL request and only when the rewrite
 * conditions defined into the .htaccess file are satisfied
 * It provides the auto loading of classes and the MVC objects creations, by using
 * framework\Loader and framework\Dispatcher classes, depending on the requested URL.
 * Note:
 * You can also use this file as header template for building your own PHP file based script
 * containing code that use Web MVC Framework classes.
 * For this purpose simply comment out each line of code that contain a Dispatcher use.
 * @filesource index.php
 * @author Rosario Carvello <>
 * @version GIT:v1.0.0
 * @copyright (c) 2016-2023 Rosario Carvello <> - All rights reserved. See License.txt file
 * @license BSD Clause 3 License
 * @license This software is distributed under BSD-3-Clause Public License

/* Path of this script */
define ("RELATIVE_PATH", "");

/* Enable error reporting and disable notices */
error_reporting(E_ALL & ~E_NOTICE);
// error_reporting(E_ALL);
// ini_set('display_errors', '1');

  Commons initializations and configurations loading
  Note: To change framework or application setting see the config folder.

header('Content-Type: text/html; charset=utf-8');
RELATIVE_PATH . "config/framework.config.php");

/* Starting and securing session */

/* Use of framework classes */
use framework\Loader;

/* Set classes auto loader simply by instantiating framework Loader */
$loader = new Loader();

/* Create a dispatcher for handling URL request to the appropriate user controller */
$dispatcher = new Dispatcher();

  • PHP Web MVC Framework
  • Web MVC Framework
  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:2
All time:3,206
This week:52Up
User Ratings User Comments (1)
 All time