Coverline - PHP News Portal

Description
**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.
Instructions
1. Upload the files. app/ goes into your account's home directory (e.g. /home/USER/app/), OUTSIDE the web root. The contents of public_html/ go into your existing public_html/. The document root does not change.
2. Set PHP 8.4 for the domain (WHM > MultiPHP Manager), handler PHP-FPM, and enable the required extensions (WHM > MultiPHP INI Editor / EasyApache 4).
3. Install dependencies: cd /home/USER/app composer install --no-dev --optimize-autoloader
4. Create your config file: cp app/config/config.example.php app/config/config.php Fill in your domain, database credentials, mail settings, and a required encryption key for TOTP secrets: php -r "echo base64_encode(random_bytes(32)), PHP_EOL;" In production, app.env must be 'production', app.debug must be false, and security.session.cookie_secure must be true.
5. Create the database (utf8mb4 / utf8mb4_hungarian_ci) and run the migrations: php app/bin/worker.php migrate php app/bin/worker.php migrate:status
6. Set file permissions. app/var/cache/, app/var/logs/, app/var/sessions/, app/storage/uploads/, and public_html/img/ must be writable by the PHP process; app/config/config.php should be 640 and not world-readable.
7. Create your first administrator: php app/bin/worker.php user:create admin@yourdomain.com "Full Name" admin You'll be prompted for a password (12+ characters). Anyone with publishing rights must set up two-factor authentication on first login — there's no way to skip it.
8. Add the cron job (cPanel > Cron Jobs, every minute): * * * * * /usr/local/bin/ea-php84 /home/USER/app/bin/worker.php >/dev/null 2>&1 This single job drives scheduled publishing, the mail queue, and daily maintenance. It's lock-protected, so overlapping runs are safe.
9. Try the demo content (optional, safe on an empty install): php app/bin/worker.php demo:seed Creates 8 sections, 32 published articles with tags and comments, a filled-in author profile, and a draft + scheduled article. Safe to re-run.
10. Verify the install: php app/bin/worker.php doctor Checks directory permissions, database collation, pending migrations, template compilation, the cron heartbeat, and more. Should report 0 errors.
Updating to a newer version: back up first (php app/bin/worker.php backup), upload the new app/ and public_html/ files without overwriting app/config/config.php, run php app/bin/worker.php migrate, then php app/bin/worker.php cache:clear, then php app/bin/worker.php doctor to confirm.
| Author | csibusz |
|---|---|
| Category | Scripts & Code / PHP Scripts / News |
| Price | $37 |
| Extended License | $111 |
| First Release | Sep 1, 2026 |
| Last Update | Sep 1, 2026 |
| Files included | .php, .css, .html, .sql, JavaScript .js |
| Programming language | PHP, JavaScript |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.