AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← Malware catalog

Attributed metadata history

REPORTPUBLIC METADATA

SEO in Laravel Without a Package: Meta Tags, JSON-LD and a Sitemap

Most Laravel SEO tutorials start with "install this package". For a lot of business sites you don't need one. A small value object, one Blade component and a sitemap route cover 90% of what search engines actually read. This is the setup we use on client sites at RyxaDev, simplified so you can drop it into any Laravel 11+ app. 1. A tiny Seo value object Every page needs the same handful of fields: title, description, canonical URL, image, robots and some structured data. Put them in one class instead of scattering @section('title') calls across views. namespace App\Support\Seo; class Seo { public array $schema = []; public string $robots = 'index, follow, max-image-preview:large'; public function __construct( public ?string $title = null, public ?string $description = null, public ?string $image = null, public ?string $canonical = null, ) {} public static function make(?string $title = null, ?string $description = null): self { return new self($title, $description); } public function noindex(): self { $this->robots = 'noindex, follow'; return $this; } public function schema(array $node): self { $this->schema[] = $node; return $this; } } Controllers build it and pass it to the view: public function show(Post $post): View { $seo = Seo::make($post->meta_title ?? $post->title, $post->excerpt) ->schema(SchemaFactory::article($post)); return view('blog.show', compact('post', 'seo')); } 2. One Blade component for the <head> @props(['seo']) <title>{{ $seo->title }} | {{ config('app.name') }}</title> <meta name="description" content="{{ $seo->description }}"> <meta name="robots" content="{{ $seo->robots }}"> <link rel="canonical" href="{{ $seo->canonical ?? url()->current() }}"> <meta property="og:title" content="{{ $seo->title }}"> <meta property="og:description" content="{{ $seo->description }}"> <meta property="og:url" content="{{ $seo->canonical ?? url()->current() }}"> @if ($seo->image) <meta property="og:image" content="{{ $seo->image }}"> @endif @foreach ($seo->schema as $node) <script type="application/ld+json">{!! json_encode($node, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE) !!}</script> @endforeach Two details that are easy to get wrong: Always output a canonical. Query strings (?utm_source=..., ?page=1) otherwise create duplicate URLs. Escape everything except the JSON-LD, and build that JSON with json_encode, never by hand in Blade. 3. JSON-LD from a factory, not from views Keep structured data in PHP where you can test it: class SchemaFactory { public static function organization(): array { return [ '@context' => 'https://schema.org', '@type' => 'Organization', '@id' => url('/#organization'), 'name' => config('app.name'), 'url' => url('/'), 'logo' => asset('images/logo.png'), ]; } public static function article(Post $post): array { return [ '@context' => 'https://schema.org', '@type' => 'BlogPosting', 'headline' => $post->title, 'datePublished' => $post->published_at?->toAtomString(), 'dateModified' => $post->updated_at?->toAtomString(), 'author' => ['@type' => 'Organization', '@id' => url('/#organization')], 'mainEntityOfPage' => route('blog.show', $post), ]; } } A feature test can now assert that a blog page contains a BlogPosting node, which is far more reliable than eyeballing the Rich Results Test after every deploy. 4. A sitemap route Route::get('sitemap.xml', function () {

Reference details

Source category
research-report
First reported
Dec 03, 2026 18:16 UTC
Last reported
Dec 03, 2026 18:16 UTC
Catalog updated
Dec 03, 2026 18:26 UTC
Record ID
01143a8508ec9b329e6242449261c8cd164787e883dd11a61117f790a529738e

Published indicators

Network indicators are visibly defanged. This page does not make them clickable or send them to another service.

No validated file hashes or network indicators are stored for this record.

Source observations

intelligence_src_6dc544294b7f21f98a

Source-provided label
Publisher RSS metadata
Evidence class
mentioned in report
Confidence
Not reported
Observed
Dec 03, 2026 18:16 UTC
Retrieved
Dec 03, 2026 18:26 UTC

This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.

Feed collection status

Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.

1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.

Review source update dates and status
  • intelligence_src_6dc544294b7f21f98aRecent successful batchLast successful batch: Last attempt:

Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.