Skip to content

PT-BR: Estrutura desenvolvida para novos desenvolvedores sem familiaridade com MVC | EN: Framework developed for new developers unfamiliar with MVC

Notifications You must be signed in to change notification settings

Ueslen-dev/Basic-PHP-MVC-structure

Repository files navigation

About the structure

Basic MVC framework for small applications and for beginners in this framework model

Important

The structure has no ORM, the entire process of assembling the queries is done with PDO. Remember to modify the application path in the .htaccess file

How to use?

Keep the composer installed in your project, then clone the repository for your project:

$ git clone https://github.com/Ueslen-dev/Basic-PHP-MVC-structure.git

After cloning the repository, run the following command on the terminal:

$ composer update

Folder structure

assets:
Assets used to build the application (JS, CSS, IMG etc ...)

Model:
Persistence files with the database

View
Files HTML

Controller
Application drivers

Core
Application working structure

Routes
Application route management

File structure

config.php
Database configuration

environment.php
Setting up the application environment

index.php
One of the main files of the structure, responsible for requesting important dependencies for the operation of the application.

PHP Standards Recommendations (PSR)

About

PT-BR: Estrutura desenvolvida para novos desenvolvedores sem familiaridade com MVC | EN: Framework developed for new developers unfamiliar with MVC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages