Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

MAR Project Management System

PHP Version MySQL Bootstrap Architecture License

An enterprise-grade, modern web application engineered for end-to-end project lifecycle tracking, role-based governance, feature module milestones, daily timesheet logging, and executive analytical audits.


Table of Contents


Key Capabilities & Features

1. Project Portfolio & Client Governance

  • Full Scope Tracking: Project Name, Code, Type (Active/Historical), Priority, Contract Budget, Payment Status, and Tech Stack tags.
  • Client Profile Integration: Organization name, physical address, and detailed contact information (Contact Person, Email, Phone).
  • Source of Project Reception: Captures and spotlights the specific person who brought the project to the company from the client, complete with datalist suggestions and badge indicators.
  • Milestone Timelines: Project Start Date, Expected Project End Date, and Actual Completion Date tracking.

2. Feature Modules & Resource Allocation

  • Module Architecture: Decompose projects into architectural modules with independent progress percentages and statuses.
  • Timeline Milestones: Module Start Date, Expected Module End Date, and Actual Module End Date.
  • Personnel Allocation: Assign multiple team members to specific modules with granular responsibility designations.

3. Google Sheet-Style Daily Work Worksheet

  • Multi-Tab Spreadsheet UX: Single workbook interface with individual tabs for each team member.
  • Standard Columns:
    • Date | Project | Module | Page Link | Tasks | Tables Used | New Tables / Fields | Description | Time (Hrs) | Remarks | Status
  • Inline Submission Modal & Filters: Quick submission dialog and role-aware filtering.

4. Executive Analytics & Audit Center

  • Executive Project Audit Reports: High-impact C-level reporting replacing plain Word document tables with modern dark slate headers, zebra rows, progress bars, and KPI highlights.
  • Member Productivity Audits: Individual performance scorecards showing allocated projects, total submissions, and billable hours.
  • Print & PDF Ready: Customized @media print stylesheets for crisp, executive-ready physical or PDF exports.

5. Document & Asset Repository

  • Project specification uploads, architecture diagrams, and collateral management with secure storage and permission checks.

Architecture & Tech Stack

Component Technology Description
Backend PHP 8.1+ Clean Model-View-Controller (MVC) architecture with central router, session management, and auth middleware.
Database MySQL / MariaDB InnoDB engine with foreign keys, transactional integrity, and UTF8mb4 character set.
ORM / Data Layer PHP PDO 100% Parameterized queries with prepared statements preventing SQL injection.
Frontend Bootstrap 5.3 + Vanilla CSS Modern enterprise design system with responsive layouts, accessible contrast, and micro-interactions.
Icons Bootstrap Icons 1.11+ Scalable SVG icon set.
Server Apache / Nginx URL rewrites via .htaccess directing all traffic through public/index.php.

Role-Based Access Control (RBAC)

The system enforces strict multi-tier permissions across all endpoints:

Feature / Module Administrator (ADMIN) Project Manager (PROJECT_MANAGER) Team Member (TEAM_MEMBER)
Dashboard Full Company Metrics PM Projects & Milestones Personal Assigned Milestones
Project Creation & Editing Full Access Full Access View Assigned Only
Client Management Full Access Full Access Hidden (Restricted)
Module Management Full Access Full Access View Assigned Only
Task Assignment Full Access Full Access Update Assigned Progress
Worksheet / Daily Reports Audit & Review All Audit & Review All Log & View Personal Sheets
Executive Reports & Audits Full Access Full Access View Self & Assigned
User Management Full Access Restricted Restricted

System Requirements

  • PHP: Version 8.1 or higher (with pdo, pdo_mysql, mbstring, openssl extensions enabled).
  • Web Server: Apache 2.4+ (with mod_rewrite enabled) or Nginx.
  • Database: MySQL 8.0+ or MariaDB 10.4+.
  • Browser: Any modern browser (Chrome, Edge, Firefox, Safari).

Installation & Setup

Step 1: Clone or Place Repository

Place the repository inside your web server document root (e.g. htdocs for XAMPP):

cd E:/XAMPP/htdocs/
git clone <repository_url> Mar-Project-Management-System

Step 2: Configure Environment

Copy the environment template:

cp .env.example .env

Open .env and configure your database and application URL:

APP_NAME="MAR Solutions"
APP_ENV=production
APP_DEBUG=false
APP_URL=http://localhost/Mar-Project-Management-System/public
APP_TIMEZONE=Asia/Kolkata

DB_DRIVER=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=mar_db
DB_USERNAME=root
DB_PASSWORD=your_database_password

Step 3: Initialize Database

Create the database and import the unified production schema:

CREATE DATABASE IF NOT EXISTS mar_db CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

Import the production schema file located at database/schema.sql:

mysql -u root -p mar_db < database/schema.sql

Step 4: Verify Directory Permissions

Ensure the storage directory is writable by your web server:

chmod -R 775 storage/

Step 5: Access the Application

Open your browser and navigate to:

http://localhost/Mar-Project-Management-System/public/

Production Deployment & Hardening

Before deploying to live production servers:

  1. Change Default Administrator Credentials:
    • Log in with default admin credentials.
    • Immediately update the password from your user profile or reset via password hash.
  2. Set Environment to Production:
    APP_ENV=production
    APP_DEBUG=false
  3. Web Server Document Root:
    • For optimal security, configure your virtual host's DocumentRoot to point directly to the /public directory:
    <VirtualHost *:80>
        ServerName pms.yourcompany.com
        DocumentRoot "/path/to/Mar-Project-Management-System/public"
        <Directory "/path/to/Mar-Project-Management-System/public">
            AllowOverride All
            Require all granted
        </Directory>
    </VirtualHost>
  4. HTTPS / SSL:
    • Ensure SSL certificates (Let's Encrypt / TLS) are configured and force HTTPS in .htaccess.

Architecture & Folder Structure

Mar-Project-Management-System/
├── app/
│   ├── controllers/         # Application Controllers (Auth, Project, Module, Reports, etc.)
│   ├── core/                # Core Framework (Router, Controller, Database, Model, Session, Auth)
│   ├── helpers/             # Global Utilities (auth, url, sanitization helpers)
│   ├── models/              # Active Record & Data Access Models (Project, User, Module, etc.)
│   └── views/               # PHP Views & Partial Layouts (dashboard, projects, reports, etc.)
├── config/                  # Configuration Files (app.php, database.php, config.php)
├── database/
│   ├── migrations/          # Sequential DDL Migrations (001 - 010)
│   ├── seeds/               # Initial Seeding Scripts
│   └── schema.sql           # Unified Single-File Production Database Schema
├── public/                  # Public Web Root (Assets, CSS, JS, Front Controller)
│   ├── assets/              # Stylesheets, JavaScript, Brand Icons
│   ├── .htaccess            # Apache URL Rewriting Rules
│   └── index.php            # Application Entry Point
├── routes/
│   └── web.php              # Web Route Declarations
├── storage/
│   ├── logs/                # Application Logs
│   └── uploads/             # User Uploaded Documents
├── .env.example             # Environment Variable Template
├── .gitignore               # Git Exclusions
└── README.md                # Project Documentation

Default Credentials

The initial production schema includes a single administrative account:

Role Email Password
System Administrator admin@gmail.com password

Security Advisory: Change this default password immediately upon initial deployment.


License

This software is proprietary and confidential. Unauthorized copying, distribution, or modification is strictly prohibited. All rights reserved © MAR Solutions.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages