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.
screenshots
| Front Office | Back Office |
|---|---|
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
![]() | (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
-
Clone
git clone https://github.com/your-username/iranwatch.git cd iranwatch -
Configure
- Create a MySQL database (e.g.
ww3). - Copy
.env.exampleto.envand fill in your database credentials. - Import the database schema (provided in
database/folder).
- Create a MySQL database (e.g.
-
Install dependencies
composer install -
Run
composer startVisit
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.






