📘 CRM Setup & Development Tutorial (Project: mycrm)
1. Installing Development Tools
Tool: Visual Studio Code (VS Code)
Why?: It's a lightweight, fast, and powerful code editor. It supports
PHP, HTML, CSS, and JavaScript with great extensions.
Purpose: To write and manage all the code for our CRM easily.
Tool: XAMPP
Why?: It provides a local Apache server, MySQL database, and PHP.
Purpose: To run and test the CRM locally before putting it online.
2. Project Folder Structure
Folder: C:\xampp\htdocs\mycrm
Why?: XAMPP serves websites from htdocs. Creating mycrm here
makes it accessible via [Link]
Inside mycrm:
assets/: Contains CSS, images, and JS files
o Purpose: Organize static files like styles and scripts.
includes/: Contains reusable PHP files
o [Link]: Loads logo, top structure, and starts layout
o [Link]: Closes HTML and adds footer scripts
o [Link]: Contains navigation/menu, used on every page
All PHP pages (e.g., [Link], [Link])
o Purpose: Each handles a specific function (dashboard, leads, HR,
etc.)
3. Pages and Their Purpose
File Purpose
[Link] Main dashboard after login
[Link] Login form and authentication
[Link] Ends user session
[Link] MySQL database connection file
user_management.php Admin panel to manage users
add_user.php,
edit_user.php, CRUD functions for users
delete_user.php
[Link],
Customer management
add_customer.php, etc.
[Link],
Finance management
[Link], etc.
assets/css/[Link] Styling for all pages
includes/[Link] Menu that appears on every page
1- user_management.php
add_user.php
edit_user.php
delete_user.php
Header + Sidebar + Footer + CSS
[Link]
add_asset.php
add_candidate.php
add_customer.php
add_employee.php
add_expense.php
add_invoice.php
add_job.php
add_lead.php
add_project.php
add_task.php
add_user.php
[Link]
[Link]
[Link]
[Link]
file_list.php
file_upload.php
[Link]
forgot_password.php
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
[Link]
user_management.php
edit_asset.php
edit_candidate.php
edit_customer.php
edit_employee.php
edit_expense.php
edit_invoice.php
edit_job.php
edit_lead.php
edit_project.php
edit_task.php
edit_user.php
reset_password.php
[Link]
[Link]
delete_asset.php
delete_candidate.php
delete_customer.php
delete_employee.php
delete_expense.php
delete_file.php
delete_job.php
delete_lead.php
delete_project.php
delete_task.php
delete_user.php