Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Tests Laravel Package

json-ld/tests

Test suite for a JSON-LD package. Provides fixtures and automated tests to validate JSON-LD parsing/serialization, context handling, compaction/expansion, and edge cases across PHP versions—useful for ensuring standards-compliant JSON-LD behavior.

View on GitHub
Deep Wiki
Context7

Getting Started

This package is obsolete and read-only, containing historical JSON-LD test suites split from a now-archived working group repository. It is not intended for direct use in application code. If you're working with JSON-LD today, start with the active JSON-LD PHP library or its successor integrations (e.g., justinrainbow/json-ld). This test suite is only useful if you need to validate conformance against official W3C test cases—for example, when developing or auditing a JSON-LD processor.

Implementation Patterns

  • Testing JSON-LD processors: Run the included .jsonld and .ttl test manifests to verify compliance with W3C JSON-LD specifications (e.g., json-ld-api, json-ld-framing).
  • CI validation: Reference this package in test scripts to validate your JSON-LD processing logic (e.g., phpunit tests that compare your output against expected results in tests/manifests/).
  • Upstream integration: Because it’s archived, do not require this package in production dependencies. Instead, manually fetch or vendor specific manifests if strict compliance testing is needed.

Gotchas and Tips

  • ⚠️ Archived & unmaintained: Tests are from 2014 and may not cover modern extensions (e.g., JSON-LD 1.1 Framing, APIs). Use alongside newer test suites like those in the W3C JSON-LD CG or github.com/w3c/json-ld-benchmarks.
  • No autoloading or bootstrap: This package contains raw test files—no PHP code to require. Tests are JSON/Turtle manifests, not PHPUnit tests.
  • Path confusion: The json-ld/tests naming may mislead developers into thinking it’s a test helper for their own code. Clarify intent: this is the test data, not a testing framework.
  • Patch carefully: If cherry-picking individual test files, verify against current spec requirements—some edge-case tests may be outdated or superseded.
  • Extension tip: For deep compliance testing, build a custom runner that parses manifest.jsonld entries and validates your processor’s behavior per action/result pairs.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport