This is a simple e-commerce project built with PHP (procedural style) and MySQL as part of a school assignment.
- PHP >= 7.x
- MySQL / MariaDB server
- A web server (Apache, Nginx, or simply PHP's built-in server)
- Basic knowledge of SQL
- Clone the project
git https://github.com/Mahdi-Mouldi/E-CommercePHP.git
cd E-CommercePHP
- Create the database
- Start your MySQL server
- Create a new database
- Import the SQL schema located in
config/ecommerce_php.sql
This project uses a simple .env
file to manage your database credentials.
This file is not provided by default for security reasons.
DB_HOST=127.0.0.1
DB_USER=your_mysql_username
DB_PASS=your_mysql_password
DB_NAME=your_database_name
- This project is meant for educational purposes and may lack advanced security or production practices.
- Uses pure PHP (procedural) as required by school conditions.