Archived project · Private source

PHP Reporting Mailer

An archived PHP utility for copyright-notice emails, keyword ranking reports, and PNG report generation from stored search data.

PHP Reporting Mailer
PHP Reporting Mailer

About PHP Reporting Mailer

PHP Reporting Mailer is an older internal utility built around a few website-reporting tasks: preparing notice emails, formatting keyword rankings, and turning ranking data into report images.

The notice-email script reads the output of an existing parser, builds a dated HTML digest of copyright notices, and sends it to configured recipients through Alibaba Cloud DirectMail. Simple templates provide the structure and formatting for the messages.

A separate reporting module reads keyword positions from MySQL and prepares summaries by search engine, device, and country. The project also includes code for requesting ranking data from an external API. Its PHP GD renderer creates PNG reports containing keywords, positions, result titles, URLs, and snippets, with small icons to identify the search context.

The implementation uses plain PHP classes, MySQL, cURL, Composer dependencies, HTML email templates, and GD. It was written for a specific website workflow, with configuration kept in the application code.

The retained snapshot includes unfinished connections between these pieces: the main entry point handles notice emails, while ranking-report images are generated through a separate test script. Automated delivery of ranking emails is not connected in that version.

I keep it as an archived example of practical PHP integration work: reading external data, preparing reports, generating images, and sending email through an API. The source remains private.

Release history

Version 1.0.0