Phase 1 — System Architecture

Welcome to Two Friends

Wholesale & Retail Construction Materials — Swat Valley, Khyber Pakhtunkhwa

The ERP foundation (Phase 1) is installed. This page verifies that the server meets every requirement before the database and business modules are added.

System Status

Configuration
  • .env configuration file
    .env.example
    Copy .env.example to .env and fill in your values.
    Failed
  • Application key (APP_KEY)
    Run: php bin/keygen.php
    Failed
  • Application URL (APP_URL)
    Set APP_URL in .env for correct links and e-mails.
    Warning
  • One-time web installer
    public/install.php
    install.php still exists — it self-removes after installation; delete it manually if it remains.
    Warning
  • Debug mode
    Disabled (correct for production)
    OK
PHP Environment
  • PHP version
    8.4.21 (≥ 8.3.0)
    OK
PHP Extensions
  • pdo
    OK
    Required now
    OK
  • pdo_mysql
    OK
    Required now
    OK
  • mbstring
    OK
    Required now
    OK
  • openssl
    OK
    Required now
    OK
  • fileinfo
    OK
    Required now
    OK
  • session
    OK
    Required now
    OK
  • gd
    OK
    Used in later phases (images, backups, OCR, e-mail)
    OK
  • curl
    OK
    Used in later phases (images, backups, OCR, e-mail)
    OK
  • zip
    OK
    Used in later phases (images, backups, OCR, e-mail)
    OK
  • intl
    OK
    Used in later phases (images, backups, OCR, e-mail)
    OK
Directory Permissions
  • storage/logs/
    Writable
    OK
  • storage/cache/
    Writable
    OK
  • storage/backups/
    Writable
    OK
  • storage/uploads/
    Writable
    OK
  • public/uploads/
    Writable
    OK
Database
  • MySQL connection
    Not configured yet — the database schema arrives in Phase 2.
    Warning

Next phase

Phase 2 designs and installs the normalized MySQL database: products, customers, invoices, payments, customer ledger (khata), inventory, suppliers, HR and audit tables.