Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 16, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 16, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 16, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 16, 2025

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025

      Minecraft licensing robbed us of this controversial NFL schedule release video

      May 16, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The power of generators

      May 16, 2025
      Recent

      The power of generators

      May 16, 2025

      Simplify Factory Associations with Laravel’s UseFactory Attribute

      May 16, 2025

      This Week in Laravel: React Native, PhpStorm Junie, and more

      May 16, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025
      Recent

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Laravel SEO made easy with the Honeystone package

    Laravel SEO made easy with the Honeystone package

    August 20, 2024

    The Honeystone SEO package for Laravel makes configuring SEO metadata from anywhere within your Laravel application a breeze. The package includes metadata generators for popular social networks like X Cards, Open Graph, and JSON-LD schema.

    seo()
    ->title(‘A fantastic blog post’, ‘My Awesome Website!’)
    ->description(“There’s really a lot of great stuff in here…”)
    ->images(
    ‘https://mywebsite.com/images/blog-1/cover-image.webp’,
    ‘https://mywebsite.com/images/blog-1/another-image.webp’,
    );

    When rendering your views, you can use the provided @metadata Blade directive, or the seo()->generate(); method to render metadata.

    Generators are useful to render metadata for popular social networks. Here’s an example of defining a Twitter Card using this package:

    seo()
    ->twitterEnabled(true) //enabled by default, see config
    ->twitterSite(‘@MyWebsite’)
    ->twitterCreator(‘@MyTwitter’)
    ->twitterTitle(‘A fantastic blog post’) //defaults to title()
    ->twitterDescription(“There’s really a lot of great stuff in here…”) //defaults to description()
    ->twitterImage(‘https://mywebsite.com/images/blog-1/cover-image.webp’);

    You can also create your own custom metadata generators, which can easily be added to suit your needs. I’d recommend looking at the existing generators with this package to see how to implement the GeneratesMetadata interface.

    Check out the project’s readme for details on implementing this package and using the built-in generators. You can learn more about this package, get full installation instructions, and view the source code on GitHub at Honeystone/laravel-seo.

    The post Laravel SEO made easy with the Honeystone package appeared first on Laravel News.

    Join the Laravel Newsletter to get all the latest
    Laravel articles like this directly in your inbox.

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleMicrosoft shares first public preview of SharePoint Framework 1.20
    Next Article Composite Components in AEM SPA (React)

    Related Posts

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-47916 – Invision Community Themeeditor Remote Code Execution

    May 16, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-31637 – LambertGroup SHOUT SQL Injection

    May 16, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    Call of Duty: Black Ops 6 and Warzone causing blue screen errors on PC since Season 2 launched — is the anticheat to blame?

    News & Updates

    GitHub Availability Report: March 2025

    News & Updates

    CVE-2025-44862 – TOTOLINK CA300-POE Command Injection Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    I replaced my Pixel 9 Pro XL with the Pixel 9a – and it’s good news for power users

    News & Updates

    Highlights

    News & Updates

    Microsoft is using a long-forgotten Xbox game for a new generative AI experiment

    February 20, 2025

    Microsoft Research is partnering with Xbox studio Ninja Theory to debut “Muse” — an AI…

    Customize small language models on AWS with automotive terminology

    November 19, 2024

    Mind-Reading AI Is Finally Here – And It’s the World’s Best-Kept Secret

    February 24, 2025

    Characterizing and Mitigating Compute Express Link (CXL) Interference in Modern Memory Systems

    December 3, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.