webnuvola / laravel-json-ld
Laravel wrapper for torann/json-ld
Installs: 6 611
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ^8.1
- illuminate/support: ^9.0||^10.0||^11.0
- torann/json-ld: ~0.0.19
Requires (Dev)
- pestphp/pest: ^2.34
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.