webnuvola/laravel-json-ld

Laravel wrapper for torann/json-ld

v2.1.0 2024-03-06 17:44 UTC

This package is auto-updated.

Last update: 2024-11-06 19:14:09 UTC


README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

This package allows you to use the torann/json-ld package with Laravel.

Installation

You can install the package via composer:

composer require webnuvola/laravel-json-ld

Usage

Create a new json-ld entry

jsonld(string $context, array $data = [])

See torann/json-ld documentation

Output json-ld data to your view

{{ jsonld() }}

Testing

composer test

Credits

License

The MIT License (MIT). Please see License File for more information.