MS

Elmoudjaz News Platform

Elmoudjaz News Platform

Overview

A Laravel rebuild of an Algerian online newspaper: editorial workflow, an in-house ad server, legal announcements and AI-assisted publishing.

Elmoudjaz is an Algerian news site, Arabic first with French and English, rebuilt from an old WordPress installation onto a Laravel application. It covers the public site, the newsroom workflow, the advertising stack and the daily legal announcements the publication is required to carry. I designed and built the rebuild alone, from the migration of the archive to the ad server and the analytics.

The Elmoudjaz homepage

The problem

A news site publishes under pressure. The lead changes during the day, several people touch the same article, a correction has to be traceable, and a story scheduled for the evening must not go live at noon. On a shared admin account, the last save wins, and nobody can say who changed a headline or why. The public side has its own demands: Arabic reading, a phone-first layout, fast pages for readers on a mobile connection, and old links that must keep working after a rebuild or the search traffic disappears. Advertising is usually the revenue, but it is sold by phone and measured by a third-party tag that the publication does not control. Legal announcements arrive as a spreadsheet and a pile of PDFs that someone has to stamp by hand. Each of those is a separate small operation, and together they are why news sites end up with five tools and no single record of what was published.

The solution

One application with a newsroom workflow, a public site and an ad server that belong to the publication. Articles move through draft, review, changes requested, approval, scheduling and publication, with roles assigned per piece, proposals for edits and a visible difference for the reviewer. The public site renders on the server, keeps old addresses alive through a redirect map and a slug history, and publishes in three languages. Advertising has its own positions, targeting, pricing models and a self-service panel, with impressions and clicks recorded in the background. Legal announcements are imported, branded and published without a manual stamp.

Goals

  • Publish safely: several editors on one article without overwriting each other, and a workflow that cannot skip review.

  • Keep the audience: fast pages, clean Arabic and French, and no broken link after the move from the old site.

  • Own the advertising: campaigns, creatives, targeting and measurement inside the product, not in a third-party tag.

What I built

The newsroom

  • A six-state workflow: draft, pending review, changes requested, approved, scheduled and published. Every transition goes through one service that authorises it, writes a log and notifies the next person, so a bulk action cannot skip a step.

  • Roles per article: author, editor and reviewer are assigned to the piece itself, not only to the account, so an author can draft but cannot publish and a reviewer sees only what is waiting for them.

  • Edit proposals with a diff: someone who is not the author can suggest a change, and the reviewer accepts or rejects it with the difference visible, which is how a correction stays a decision rather than a silent edit.

  • Locks, revisions and previews: an article being edited is locked against a second editor, every save keeps a revision, old slugs keep resolving, and unpublished work opens through a signed link that only staff can use.

The public site

An article page
  • Article types: standard, video, audio and gallery, with breaking, featured and pinned flags, view counts and a short link per article for sharing and print.

  • Three languages: Arabic, French and English, with translated titles, excerpts and SEO fields per locale, and a language choice that follows the reader.

  • Menus and pages: nested navigation and block-based static pages are built in the panel, so a new section or a special page does not wait for a deploy.

  • Search and a read-only API: a public search across the archive, plus posts, categories and pages exposed as JSON for partners or a future application.

Advertising

  • An in-house ad server: five fixed positions, campaigns targeted by country and category, and creatives with their own sizes, served from the application rather than a third-party tag.

  • Four pricing models: flat, CPM, CPC and enterprise, with contracts, payment status and terms, so the revenue screen is built from the same campaign record as the delivery.

  • A self-service advertiser panel: an advertiser creates a campaign, uploads creatives and sees impressions, clicks, countries and top pages, isolated from the newsroom and from other advertisers.

  • Measurement that respects privacy: impressions and clicks are recorded in the background with hashed addresses and stripped page URLs, and the campaign cache means serving an ad does not write to the database.

Legal announcements and the move

  • Import from the agency sheet: a hand-written spreadsheet reader normalises reference numbers, page sizes and quarter pages, so the daily file becomes records instead of rows typed by hand.

  • Branding that handles real PDFs: the publication's name and reference are stamped on each announcement, and turned pages are detected and rotated upright before stamping, which is the detail that breaks naive PDF tools.

  • A public announcement section: each notice has a preview image and a downloadable PDF, with the same access rules as the rest of the public content.

  • A migration without broken links: old posts, pages and media were pulled incrementally through a local mirror, old slugs were kept, and a redirect map covers every legacy permalink, feed and upload.

Analytics and social

  • Visits off the critical path: a page view is recorded on a deferred request, then summarised into daily dimensions, so reading an article does not write a row on the main request.

  • Trending, bounded: article views are buffered and a trending score is recomputed in chunks, so the popular list stays current without scanning the whole archive.

  • Social cards: one template produces a cover and a per-article card, previewed as HTML in a wizard and downloaded as JPEG or a ZIP, so the editor approves exactly what gets shared. The cards the newspaper posts on Instagram and Facebook every day come straight out of this tool.

AI in the newsroom

  • Agents configured in the admin: each AI agent is a record with its provider (OpenAI, Anthropic, Google and others), model, system prompt, allowed tools, temperature and its own API key, so the newsroom can switch models without a deploy.

  • One runner for every call: a single service resolves the agent, injects its key, calls the model and records which provider and model answered and how much it used.

  • Drafting and SEO: editors generate article and page drafts and the search-engine title and description from the panel, then edit them like any other text before publishing.

  • Advertising copy: campaign texts for the ad server are generated from the campaign details, so a new advertiser gets usable copy in seconds.

  • Reading legal announcements: when an imported announcement is missing fields, the AI extracts them from the announcement text, which removes most of the manual retyping.

Architecture

Laravel 13 with Filament 5 for the newsroom, advertiser and admin panels, Vue 3 through Inertia with server-side rendering for the public site, MySQL 8 for data, Redis for queues and ad tokens, and S3-compatible storage for media, tested with Pest and checked at PHPStan level 5. The workflow is a domain service rather than UI state, so panel actions, bulk actions and commands all pass through the same authorisation and logging. Public pages are cached at the edge with a short lifetime, while visits, impressions and clicks are written off the request path; ad delivery is cache-first with a token pool, and analytics are summarised into daily rows. The WordPress migration keeps a local mirror and a redirect map, and article translations are JSON columns per locale rather than a join table per field. Built in 2026 (154 commits).

Result

Live and still being developed. The newsroom publishes through the workflow, the public site serves the archive in three languages without losing old links, and the advertising side runs campaigns and reports on them from the same application. Legal announcements are imported and published as part of the daily routine instead of a separate manual job.

On social media

Gallery

Elmoudjaz News Platform — image 1Elmoudjaz News Platform — image 2Elmoudjaz News Platform — image 3Elmoudjaz News Platform — image 4Elmoudjaz News Platform — image 5Elmoudjaz News Platform — image 6Elmoudjaz News Platform — image 7Elmoudjaz News Platform — image 8Elmoudjaz News Platform — image 9Elmoudjaz News Platform — image 10Elmoudjaz News Platform — image 11Elmoudjaz News Platform — image 12Elmoudjaz News Platform — image 13Elmoudjaz News Platform — image 14Elmoudjaz News Platform — image 15Elmoudjaz News Platform — image 16Elmoudjaz News Platform — image 17Elmoudjaz News Platform — image 18Elmoudjaz News Platform — image 19Elmoudjaz News Platform — image 20

1 / 20

Interactive preview

Scroll inside the browser window — every page is a real screenshot of the app.

Portfolio

Related work

DHD RH
DHD Warehouse

Contact

Get in touch

Have a project in mind?
Just say hello.

Address

Sidi Bel Abbess, Algeria