IranWatch

April 1, 2026 · View on GitHub

IranWatch is a web platform delivering news and historical analysis of the Iran‑USA‑Israel conflict.
Built with pure PHP (no framework) following MVC architecture, it focuses on clean code, performance (file‑based caching), and SEO best practices.

PHP Version MySQL License


screenshots

Front OfficeBack Office
WelcomeContent list
Article listCreate form
Article detailEdit form
History page(more screenshoot available in the screenshoot/ folder)

Key Features

  • Pure PHP MVC – no framework, easy to understand and extend.
  • Dynamic content – manage sections, articles, and images through a MySQL database.
  • File‑based caching – reduces database load, improves response time.
  • SEO‑ready – custom meta tags, Open Graph, JSON‑LD, canonical URLs, and a generated sitemap.
  • Responsive design – works on all devices.
  • Secure admin area – login, image uploads, and rich text editing (TinyMCE).

Additional Features

  • Real time news - Add real time news using google map and fresh news on the net

Tech Stack

  • PHP 8.2 + PDO
  • MySQL 8.0
  • HTML5 / CSS3 (Grid, Flexbox)
  • TinyMCE
  • Composer (autoload)
  • Docker (optional)

Quick Start

  1. Clone

    git clone https://github.com/your-username/iranwatch.git
    cd iranwatch
    
  2. Configure

    • Create a MySQL database (e.g. ww3).
    • Copy .env.example to .env and fill in your database credentials.
    • Import the database schema (provided in database/ folder).
  3. Install dependencies

    composer install
    
  4. Run

    composer start
    

    Visit http://localhost:8000.
    Back office is at /login (default credentials set in .env).


License

This project is open‑source under the MIT License. See LICENSE for details.