This project is built using the Model-View-Controller (MVC) architecture with PHP.
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.
- PHP: Version 7.4 or higher
- Composer: Dependency Manager for PHP
-
Clone the repository
git clone https://github.com/ayrzDev/Dragon.git
-
Install dependencies
Run the following command to install the required dependencies via Composer:
composer install
-
Start the application
php -S localhost:8000
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.
- Home Page: Visit
http://localhost:8000to view the application.
- Ayrz - GitHub Profile
This project is licensed under the MIT License.
To regenerate the autoload files after adding new classes, run:
composer dump-autoloadFor questions or suggestions, you can reach out via dogrumucahit@hotmail.com.