webnuvola/laravel-json-ld
Laravel json-ld
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.
Related Packages
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v2.1.0 | ^8.1 | ^9.0| | MIT | |
| v2.0.0 | ~8.0.0 | | ^8.0 | | MIT | |
| v1.3.0 | ^7.4| | ^8.0 | MIT | |
| v1.2.0 | ^7.3 | 5.8.*| | MIT | |
| v1.1.0 | ^7.3 | 5.8.*| | MIT | |
| v1.0.1 | ^7.3 | 5.8.*| | MIT | |
| v1.0.0 | ^7.3 | 5.8.*| | MIT |