← All types

BlogPosting

JSON-LD Output

{
    "@context": "https://schema.org/",
    "@type": "BlogPosting",
    "headline": "Understanding Dependency Injection in PHP",
    "author": {
        "@type": "Person",
        "name": "Marcus Rivera"
    },
    "datePublished": "2025-11-20",
    "dateModified": "2025-12-01",
    "image": [
        "https://example.com/di-php.jpg",
        "https://example.com/di-diagram.png"
    ],
    "description": "A practical guide to dependency injection patterns in modern PHP applications.",
    "publisher": {
        "@type": "Organization",
        "name": "PHP Weekly",
        "logo": "https://example.com/phpweekly-logo.png"
    },
    "speakable": {
        "@type": "SpeakableSpecification",
        "cssSelector": [
            ".post-title",
            ".post-excerpt"
        ]
    },
    "isAccessibleForFree": true,
    "hasPart": [
        {
            "@type": "WebPageElement",
            "isAccessibleForFree": true,
            "cssSelector": ".post-content"
        }
    ]
}

Source: generate-blogposting.php

Schema: https://schema.org/BlogPosting