Skip to content

This is repo company tester about PHP Language, MVC(Model-View-Controller) and SQL to manage customer

Notifications You must be signed in to change notification settings

wcdfilll/php-mvc-tester-company

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP MVC Tester Company

A demo repo for a company system built with PHP, MVC (Model-View-Controller) architecture, and SQL to manage customers efficiently.


📋 Features

This project includes the following functionalities:

  • Class Customer: Represents a customer.
  • Class CustomerDB: Provides methods to interact with the database.
  • Class CustomerController: Handles user actions and coordinates the workflow.

Pages

  • list.php: Displays a paginated list of customers (6 customers per page) with their name, email, and address.
  • add.php: Provides a form to add a new customer.
  • edit.php: Contains a form to update customer details.
  • delete.php: Contains a form to delete a customer.
  • view.php: Displays detailed information about a customer.

🚀 Environment Setup for Testing

To test this project, ensure you have the following environment configured:

  1. Local Development Environment:
    Laragon (Recommended for a lightweight and flexible local server setup)

  2. PHP Version:
    PHP 8.1+

  3. Database:
    MariaDB/MySQL Server

    • localhost:3306
    • dbname: qlkh_tester_aht
    • Username: root
    • Password: (leave empty)

💡 How to Run

  1. Clone this repository:
    git clone https://github.com/your-username/php-mvc-tester-company.git
    
  2. Need download Laragon to run project in path /www/php-mvc-tester-company:
    and enjoy it ❤️

About

This is repo company tester about PHP Language, MVC(Model-View-Controller) and SQL to manage customer

Resources

Stars

Watchers

Forks

Packages

No packages published