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.
| Front Office | Back Office |
|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
(more screenshoot available in the screenshoot/ folder) |
- 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).
- Real time news - Add real time news using google map and fresh news on the net
- PHP 8.2 + PDO
- MySQL 8.0
- HTML5 / CSS3 (Grid, Flexbox)
- TinyMCE
- Composer (autoload)
- Docker (optional)
-
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 start
Visit
http://localhost:8000.
Back office is at/login(default credentials set in.env).
This project is open‑source under the MIT License. See LICENSE for details.






