Laravel 12 · PHP 8.2 · Bootstrap 5

The AI-Powered
News Portal
Your Readers Deserve

A production-ready news magazine script with built-in OpenAI integration, role-based editorial workflow, dark mode, and everything you need to launch a professional publication in minutes — not months.

30+
Seeded Articles
12
Categories
4
User Roles
6
AI Features
AI Summary Generated
17 Users Seeded
80 Tags Ready
localhost:8000
Wednesday, July 2025 Login · Register · 🌙
HomeWorldTechBusinessSportsHealthScienceOpinion
🔴 BREAKING: Global Leaders Convene for Emergency UN Climate Summit · SpaceX Starship Completes Historic Lunar Mission · AI Regulation Act Passes Senate
World

Global Leaders Convene for Emergency UN Climate Summit in Geneva

Alex Turner · 2 hours ago · 9 min read

OpenAI Unveils GPT-5 with Real-Time Reasoning

Tech · 3h ago

Amazon Acquires Boston Dynamics for $8 Billion

Business · 5h ago

Europa Moon Shows Signs of Microbial Life

Science · 1d ago

Argentina Wins Record 5th World Cup

Sports · 2d ago
Laravel 12
PHP 8.2
Bootstrap 5.3
MySQL 8
OpenAI GPT-4o
Vanilla JS
Dark Mode
Fully Responsive
Role-Based Auth
Custom SMTP
Quill Editor
Newsletter
Laravel 12
PHP 8.2
Bootstrap 5.3
MySQL 8
OpenAI GPT-4o
Vanilla JS
Dark Mode
Fully Responsive
Role-Based Auth
Custom SMTP
Quill Editor
Newsletter

Built for Publishers,
Loved by Developers

Every feature a professional news outlet needs — editorial workflows, AI enrichment, audience engagement, and bulletproof admin tools.

Full AI Suite

OpenAI-powered article summaries, tag suggestions, SEO meta generation, and related content recommendations. Every feature independently toggleable from Admin settings.

AI Powered
Powerful Admin Panel

Sleek dark sidebar admin with dashboard stats, article management with Quill rich-text editor, comment moderation, user management, and granular settings for every feature.

Full Control
Role-Based Access

Four distinct roles — Admin, Editor, Author, Reader — each with precisely scoped permissions. Editors manage all content; Authors manage only their own; Admins control everything.

Breaking News Ticker

Animated scrolling ticker with seamless loop for breaking articles. Mark any article as breaking from the editor in one click. Auto-refreshes with latest items.

Live Ticker
SMTP from Admin

Configure full SMTP settings — host, port, encryption, credentials — directly from the Admin panel at runtime, no .env file edits needed. Includes a one-click test email button.

Dark Mode + Themes

Full dark mode toggle persisted in localStorage. Smooth transition, reader-friendly typography, and all UI components adapted for both light and dark environments.

Threaded Comments

Nested comment system with full moderation — approve, mark as spam, or delete. Guest commenting supported. Admin gets email notification on new comments.

View Tracking

Unique daily view counting per IP — counts each reader once per article per day. Powers the "Trending Now" sidebar, top performers dashboard, and article analytics.

Color-Coded Categories

Every category has a custom color that propagates throughout the site — nav, badges, hero gradients, category pages, and footer. Live color preview in the admin editor.

Dynamic

Every AI Feature
Under Your Control

Add your OpenAI API key once in Admin settings and flip individual AI features on or off without touching a single line of code. The site works perfectly with AI disabled.

Auto Article Summary

2–3 sentence neutral summary shown on cards and article pages

Summary
Auto Tag Suggestion

Suggests and attaches 3–6 relevant tags on publish

Tags
SEO Meta Generator

Generates optimised meta title (60 chars) and description (155 chars)

SEO
AI-Powered Related Articles

Surfaces contextually relevant content in the sidebar

Related
# Set once in Admin → Settings → AI # No .env changes needed AI_ENABLED = true OPENAI_KEY = sk-•••••••••••••• MODEL = gpt-4o-mini ───────────────────────────────────── # Or trigger manually from CLI $ php artisan news:process-ai Processing 28 articles... ████████████████████ 28/28 ✅ Done! 28 articles enriched. Summaries: 28 Tags added: 164 SEO metas: 28
Auto on publish
Artisan CLI
Per-feature toggle
Fails gracefully

Command Centre for
Your Editorial Team

A pixel-perfect admin panel your team will actually enjoy using. Every action is one click away.

Dashboard
Articles
Categories
Comments 12
Users
Settings
General
AI Features
Email/SMTP
Dashboard Super Admin  admin
142
Total Articles
118
Published
2.4M
Total Views
12
Pending
TitleCategoryStatusViews
Global Leaders Convene for UN Climate...Worldpublished18.4k
OpenAI Unveils GPT-5 with Real-Time...Techpublished24.6k
Amazon Acquires Boston Dynamics for $8BBusinesspending15.6k
Scientists Discover Life Signs on EuropaSciencedraft31.2k
📝
Quill Rich Editor
Full formatting toolbar
🎨
Color-Coded Categories
Live preview picker
🔔
Comment Moderation
Approve, spam, delete
📊
Real-time Stats
Views, articles, users

Powerful Custom
CLI Commands

Six custom Artisan commands for managing your publication from the terminal — from AI processing to newsletter campaigns.

Laravel standard commands included
$ php artisan news:stats

Display full site statistics — articles, views, comments, users, subscribers

Utility
$ php artisan news:process-ai --limit=50

Run AI enrichment on all unprocessed published articles

AI
$ php artisan news:reprocess-ai {id}

Force re-run AI on a specific article by ID

AI
$ php artisan news:send-newsletter "Weekly Digest"

Send newsletter to all confirmed subscribers. Supports --preview flag

Email
$ php artisan news:publish-scheduled

Publish all articles whose scheduled time has passed

Scheduler
$ php artisan news:clear-spam

Permanently delete all spam-flagged comments

Utility

Everything Out of the Box

30 Full Articles

Real-world articles across 12 categories with full bodies and AI summaries

17 Seeded Users

2 admins, 3 editors, 7 authors, 5 readers — all with password: password

80 Topical Tags

Pre-built tags across politics, tech, sports, science, entertainment and more

150+ Comments

Realistic threaded comments with approved, pending, and spam examples

35 Newsletter Subscribers

30 confirmed and 5 pending — ready to test newsletter features

12 Colored Categories

World, Tech, Business, Sports, Health, Science, Entertainment and more

One-Click Setup Scripts

setup.bat for Windows, setup.sh for Linux/Mac — auto-creates DB and seeds

Full Documentation

Setup guide, feature reference, role matrix, Artisan command docs

Clean Source Code

Well-organised Laravel 12 structure, PSR-4 autoloaded, commented throughout

SVG Placeholder Image

No broken img tags — graceful no-image.svg shown for articles without images

Scrollable Category Nav

Arrow-button horizontal nav that never wraps — works on any screen width

6 Months Free Support

Bug fixes and compatibility updates included for 6 months post-purchase

Works on Any Server

Compatible with Laragon, XAMPP, WAMP, cPanel hosting, VPS, and more.

🐘
PHP

8.2 or higher

8.2+
🎼
Composer

Version 2

2.x
🗄️
MySQL

8.0 or higher

8.0+
🔴
Laravel

Version 12

12.x
✉️
SMTP

Any SMTP provider

Optional
🤖
OpenAI

API key for AI

Optional

Simple, One-Time Pricing

No subscriptions. Buy once, use forever. Future updates included.

Regular License
$39
One time · Single project

Full source code
30 seeded articles + demo data
6 months support
Lifetime free updates
Documentation + Setup Guide
Extended licence
Priority support

Secure checkout · Instant download · 14-day refund policy

Common Questions

Do I need to know PHP or Laravel to use this?
Basic PHP and web server knowledge is helpful but not required for setup. The included setup scripts (setup.bat for Windows, setup.sh for Linux/Mac) handle everything automatically — database creation, migrations, and seeding. The admin panel is designed to be self-explanatory.
Is OpenAI required for the portal to work?
No. The AI features are completely optional. The site works fully without an API key — AI features just remain inactive. You can add a key and enable AI features at any time from Admin → Settings → AI. Each AI feature (summary, tags, SEO, related) can be toggled independently.
Does it work on shared hosting (cPanel, Hostinger, etc.)?
Yes, provided your shared host supports PHP 8.2+ and MySQL 8. Most modern shared hosts do. You'll need SSH access to run Composer and Artisan commands. Some hosts offer Composer via their control panel.
Can I use this for client projects?
The Regular License covers one end product for one client or your own site. If you're building SaaS, selling it as a product, or deploying it for multiple clients, the Extended License is the right choice.
What Windows local environments are supported?
The setup.bat script auto-detects Laragon (recommended), XAMPP, and WAMP. Laragon is the simplest option for Windows — it comes with PHP 8.2, MySQL, and Composer pre-installed.
Do you provide support after purchase?
Yes. Regular license includes 6 months of bug-fix support. Extended license includes 12 months of priority email support. All licenses receive free updates for life.
📰

Your News Portal is
One Command Away

30 articles. 17 users. 80 tags. Everything seeded and ready. Run one command and you have a fully-functioning news publication.

# Windows
> setup.bat

# Linux / Mac
$ ./setup.sh

✅ Done! Visit http://localhost:8000