webnuvola / laravel-json-ld
Laravel wrapper for torann/json-ld
v2.2.0
2026-10-07 15:21 UTC
Requires
- php: ^8.3
- illuminate/support: ^10.0 || ^11.0 || ^12.0 || ^13.0
- torann/json-ld: ~0.0.19
Requires (Dev)
- laravel/pint: ^1.32
- pestphp/pest: ^4.7
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
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.