MV framework logo
  • Architecture
  • Philosophy
  • Admin panel
  • Support
  • Feedback
Documentation
Download .zip version 3.2.0 from 25.12.2024
  • Architecture
  • Philosophy
  • Admin panel
  • Support
  • Feedback
Getting started
  • Installation and launch
  • Folder structure
  • Launching a simple website
  • Pre-installed models
  • SQLite getting started
  • System settings
  • Migrations
  • Debugging
Models
  • General principles of models
  • Data types
  • Model setup
  • Simple models
  • Foreign keys
  • Trees
  • Many to many
  • Group
  • Records management
  • Managing simple models
  • Additional features
Templates and routing
  • General principles of templates
  • Router object
  • MV object
  • Create a new template
  • Output of data in template
  • Record object
  • Files and images
  • Date and time
  • Redirects and http
  • Sending email
  • Special methods
Forms
  • Creating forms
  • Setting up form fields
  • Validating form fields
  • Form security
  • Working with form data
  • Using data from models
  • Form methods
SQL queries
  • Query builder
  • Direct queries
  • Pagination
  • Sorting
  • Filtration
Additional
  • AJAX
  • Plugins
  • Caching
  • Security
  • Admin panel add-ons

MV is a PHP framework
with Auto Admin Panel

Suitable for team work, MV enables fast development
with simple PHP templating and minimal server usage

Download .zip
Github Code examples
Documentation
Getting started
  • Installation and launch
  • Folder structure
  • Launching a simple website
  • Pre-installed models
  • SQLite getting started
  • System settings
  • Migrations
  • Debugging
Models
  • General principles of models
  • Data types
  • Model setup
  • Simple models
  • Foreign keys
  • Trees
  • Many to many
  • Group
  • Records management
  • Managing simple models
  • Additional features
Templates and routing
  • General principles of templates
  • Router object
  • MV object
  • Create a new template
  • Output of data in template
  • Record object
  • Files and images
  • Date and time
  • Redirects and http
  • Sending email
  • Special methods
Forms
  • Creating forms
  • Setting up form fields
  • Validating form fields
  • Form security
  • Working with form data
  • Using data from models
  • Form methods
SQL queries
  • Query builder
  • Direct queries
  • Pagination
  • Sorting
  • Filtration
Additional
  • AJAX
  • Plugins
  • Caching
  • Security
  • Admin panel add-ons
MV tracker
Admin panel MV Admin panel MV

Main advantages

  • Object-oriented approach and principles MVC
  • Automatic generation of admin panel
  • Fast add and update of modules
  • ORM and ready functional blocks pagination, sorting, filtration
  • Visual editor, batch image upload and much more

Brief overview of MV

Fast and easy creation of data models

class Articles extends Model
{
   protected $name = 'Articles';

   protected $model_elements = [
      ['Active', 'bool', 'active', ['on_create' => true]],
      ['Name', 'char', 'name', ['required' => true]],
      ['Date', 'date', 'date', ['required' => true]],
      ['Content', 'text', 'content', ['rich_text' => true]],
      ['Images', 'multi_images', 'images']
   ];
}

Simplified and clear routing

'/' => 'view-index.php',
'e404' => 'view-404.php',
'fallback' => 'view-default.php',

'/articles' => 'modules/view-articles.php',
'/articles/*' => 'modules/view-article-details.php',

'/ajax/question' => 'ajax/ask-question.php'

Native PHP templates for generating HTML markup

<div id='inner'>
    <div class='date'><? echo I18n::formatDate($article -> date); ?></div>
    <h1><? echo $article -> name; ?></h1>
    <div class='text'>
        <? echo $article -> content; ?>
    </div>
    <div class='gallery'>
        <? echo $mv -> articles -> displayGallery($article -> images); ?>
    </div>
</div>

Simple automatic or manual installation

composer create-project makscraft/mv-framework my_app
MV tracker

© 2014-2025, MV framework team

MV tracker project Github