Weave 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

Json Schema Test Suite Laravel Package

json-schema/json-schema-test-suite

Lightweight placeholder Composer package for testing. Contains minimal README content and no documented functionality yet; likely intended as a stub or harness for experiments around json-schema/json-schema-test-suite.

View on GitHub
Deep Wiki
Context7

Getting Started

Do not use this package — it is a placeholder/stub with no functional code. Despite the misleading name (json-schema/json-schema-test-suite), the repository at https://github.com/SnelleJelle/composertest contains only a minimal README.md and description.md both stating "test", and a composer.json referencing unrelated dependencies (e.g., horde/imap-client). There are no test runners, schema definitions, or validation logic. For actual JSON Schema test suite execution in Laravel, begin with the official JSON-Schema-Test-Suite and integrate via justinrainbow/json-schema.

Implementation Patterns

No patterns apply — this package has zero implementation surface. You cannot:

  • Run tests via phpunit
  • Extend or hook into its behavior
  • Configure validation behavior (e.g., draft version)
  • Integrate into pipelines or Laravel tests

Instead, to validate JSON schemas in Laravel:

  1. Install justinrainbow/json-schema
  2. Clone the official test suite as a submodule or download fixtures
  3. Write Laravel tests (e.g., in tests/Feature/SchemaValidationTest.php) that load schema and test cases:
    $schema = json_decode(file_get_contents('tests/fixtures/user.schema.json'), true);
    $data = json_decode(file_get_contents('tests/fixtures/valid-user.json'), true);
    $validator = new JsonSchema\Validator();
    $validator->validate($data, $schema);
    $this->assertTrue($validator->isValid());
    

Gotchas and Tips

  • ⚠️ Critical pitfall: The package name and description are entirely misleading. Installing it will add no value and clutter your composer.lock.
  • The repository appears to be a test stub (possibly for Packagist submission validation) — do not treat it as a production dependency.
  • There are no config files, service providers, CLI tools, or extension hooks — the package is functionally empty.
  • If you see this package referenced in documentation or a tutorial, assume it’s an error or placeholder — always verify the actual code in the repo.
  • For schema testing in Laravel projects, prefer:
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource