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

Schema Laravel Package

nette/schema

nette/schema is a small PHP library for validating and normalizing structured data. Define schemas for arrays, configuration, and user input with type checks, defaults, required fields, ranges, and clear error messages—ideal for safe config loading.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables safe handling of untrusted data in configurations, API payloads, and third-party integrations by enforcing strict schema validation, reducing manual validation code and associated bugs.
  • Supports roadmap initiatives around robust config management and API security by ensuring data integrity at the entry point, preventing downstream failures.
  • Build vs buy: leverages a mature, maintained package to avoid reinventing complex schema validation logic, saving engineering time and reducing technical debt.
  • Key use cases include validating environment configs (YAML/JSON), API request structures, and data transformation pipelines where consistency and type safety are critical.

When to Consider This Package

  • Adopt when handling complex nested data structures (e.g., deeply nested configs, multi-level API payloads) requiring strict validation, automatic normalization, and detailed path-based error messages. Ideal for PHP 8.1+ projects where maintainability and type safety are priorities.
  • Look elsewhere
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
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
twbs/bootstrap4