Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dragon MVC Project

This project is built using the Model-View-Controller (MVC) architecture with PHP.

Table of Contents

Overview

The goal of this project is to develop a scalable and maintainable application using the MVC architecture. It leverages PSR-4 autoloading for proper namespace management and includes UUID generation using the ramsey/uuid library.

Getting Started

Prerequisites

  • PHP: Version 7.4 or higher
  • Composer: Dependency Manager for PHP

Installation

  1. Clone the repository

    git clone https://github.com/ayrzDev/Dragon.git
  2. Install dependencies

    Run the following command to install the required dependencies via Composer:

    composer install
  3. Start the application

    php -S localhost:8000

Project Structure

Dragon/
├── .vscode/
├── language/
├── public/
├── src/
│   ├── Controllers/
│   ├── Models/
│   └── Views/
├── uploads/
├── vendor/
├── .htaccess
├── composer.json
├── composer.lock
├── error_log
└── index.php
  • src/: Contains application logic for the controllers, models, and views.
  • public/: Public directory for entry files like index.php.
  • uploads/: Directory for handling file uploads.
  • vendor/: Directory for Composer dependencies.
  • composer.json: Composer configuration file with autoload setup and package requirements.

Usage

  • Home Page: Visit http://localhost:8000 to view the application.

Contributing

License

This project is licensed under the MIT License.


To regenerate the autoload files after adding new classes, run:

composer dump-autoload

Contact

For questions or suggestions, you can reach out via dogrumucahit@hotmail.com.

About

PHP Web Framework

Resources

Stars

2 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages