Ana Sayfa / Kod ve Scriptler / Coverline - PHP News Portal

Coverline - PHP News Portal

Çerçevesiz PHP 8.4 ile sıfırdan geliştirilmiş, güvenliği sertleştirilmiş eksiksiz bir haber portalı motoru.

  • Yayın tarihi1 Eylül 2026
  • Paket içeriği.php, .css, .html, .sql, JavaScript .js
  • Son güncelleme1 Eylül 2026
  • Canlı demoVar
Coverline - PHP News Portal

Overview

**Coverline is a complete news portal / online magazine engine, written from the ground up in PHP 8.4 — no Laravel, no Symfony full stack, no build pipeline, no Docker.** It's designed to be uploaded to an ordinary cPanel/WHM hosting account, run through `composer install`, and be live within the hour.

The admin panel and the public site are fully in English out of the box — buttons, validation messages, error pages, everything an editor or a reader sees.

### Why framework-free?

Because most news-site buyers run this on shared or modest VPS hosting, not a Kubernetes cluster. Every dependency you'd normally get for free from a framework — routing, DI, validation, caching — is implemented here directly, in readable, layered PHP, so there's no framework version treadmill to keep up with and no black-box "magic" between your code and what actually runs.

### What's inside

**A real editorial workflow, not a blog script:** - Draft → submitted → scheduled/published → retracted states, with a dedicated `publish` capability separate from `edit` - Full revision history on every article, with a side-by-side diff view - Scheduled and back-dated publishing, driven by a single cron entry point - A lightweight WYSIWYG editor with HTML sanitization (HTMLPurifier) — what gets saved is what's safe to render

**A media library backed by real image processing:** - Imagick-based processing on upload: EXIF metadata stripped, orientation corrected, responsive size variants generated on demand - Not a thin wrapper around `move_uploaded_file()` — actual image pipeline work happens server-side

**Security taken seriously, not bolted on:** - Argon2id password hashing - Mandatory TOTP two-factor authentication for anyone with publishing rights — not optional, not skippable - CSRF tokens on every state-changing form - Capability-based authorization enforced *inside the database queries themselves* (scoped repositories), not just checked in controllers — so a missed permission check in one screen can't leak data - Strict Content-Security-Policy, PHP execution disabled under the asset and upload directories - A full audit log: every publish, delete, permission change, and failed login

**A public site built for actual readers and search engines:** - Home page, section pages, tag pages, author pages, full-text search (MySQL FULLTEXT, accent-insensitive) - JSON-LD structured data, breadcrumbs, reading-time estimates - RSS 2.0, JSON Feed 1.1, and an XML sitemap — generated automatically by the cron worker - A live-article API (ETag/304) so readers see updates without a full page reload, with no WebSocket server to run - Light/dark theme, following the visitor's system setting

**Operations you can actually run without a sysadmin on call:** - One cron entry point drives scheduled publishing, the mail queue, and daily maintenance — lock-protected, so overlapping runs are safe - `worker.php doctor` — a single command that checks file permissions, database collation, pending migrations, template compilation, and more, and tells you exactly what to fix - Automated daily database and file backups - A demo-content command that fills an empty install with realistic sample content (sections, articles, tags, comments) in one step — perfect for previewing before you write real content

### What you will need to know

This isn't a five-minute drag-and-drop builder. You (or your developer) should be comfortable with: - Basic Composer usage and cPanel/WHM administration - Editing a PHP config file and running a handful of CLI commands over SSH - Apache with `mod_rewrite` — **this item requires Apache**; Nginx is not supported without manually translating the included `.htaccess` rules

Full requirements and a step-by-step install walkthrough are in the included `README.en.md`.

Features

- Fully English admin panel and public site - Framework-free PHP 8.4, strict types throughout - Article revisions with diff view + scheduled/back-dated publishing - Mandatory TOTP two-factor authentication for publishers - Capability-based authorization enforced at the database query level - Real Imagick image pipeline: EXIF stripped, responsive variants - Tag manager with safe merge/rename/orphan cleanup - Full audit log (publish, delete, permission changes, failed logins) - RSS 2.0, JSON Feed 1.1, XML sitemap, live-article API - Accent-insensitive full-text search - Light/dark theme - One cron job runs everything — no Docker, no Node, no Redis - One-command install health check (`worker.php doctor`) - Automated daily backups - Demo-content seeder for instant preview

Requirements

- PHP 8.4 or newer - PHP extensions: pdo, pdo_mysql, mbstring, fileinfo, json, session, filter, hash, openssl - Imagick PHP extension (required for the media library / image uploads; without it, uploads are rejected but the rest of the site works normally) - MySQL 8, or MariaDB with equivalent utf8mb4 / utf8mb4_*_ci support - Apache 2.4+ with mod_rewrite and AllowOverride enabled — routing and a PHP-execution security lockdown are implemented in .htaccess. Nginx is not supported out of the box; its rules would need to be hand-translated. - Composer (three runtime dependencies only: twig/twig, ezyang/htmlpurifier, symfony/mailer) - Cron access (a standard cPanel Cron Jobs entry works) - Shell/SSH access, to run Composer and a handful of CLI setup commands (no GUI installer)

Written for cPanel/WHM hosting, but nothing in the application itself is cPanel-specific beyond the install steps — any Apache + PHP-FPM + MySQL host with shell access and cron works the same way.

No Docker, no Node.js build step, no Redis/Memcached, no Elasticsearch, no message queue, no JavaScript framework.