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

Graphql Php Scalars Laravel Package

mll-lab/graphql-php-scalars

Custom scalar types for webonyx/graphql-php, including BigInt, Date/DateTime/DateTimeTz, Email, JSON, and IntRange for bounded integers. Drop-in types for schema definitions with strict parsing and DateTimeImmutable conversion for date scalars.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Accelerates feature delivery by eliminating redundant scalar implementation work, enabling teams to focus on business logic rather than boilerplate validation code.
  • Supports roadmap prioritization for API standardization initiatives by providing consistent, reusable scalar types across microservices and internal tools.
  • Justifies a "buy" decision over "build" for common scalar types (e.g., UUID, URL, Money, DateTime), reducing long-term maintenance overhead.
  • Enables consistent type safety across GraphQL schemas, critical for client applications and third-party integrations requiring predictable data formats.

When to Consider This Package

  • Adopt when your project uses webonyx/graphql-php or compatible frameworks (e.g., Laravel with Lighthouse), and you need standardized scalars like UUID, URL, or ISO8601 DateTime.
  • Use when multiple services or teams require consistent scalar behavior to avoid data format inconsistencies in the API layer.
  • Look elsewhere if your GraphQL server doesn’t rely on webonyx/graphql-php (e.g., Apollo Server, GraphQL Ruby), or if you require highly specialized scalars not covered by the package (e.g., custom business-specific validation rules).

How to Pitch It (Stakeholders)

"This package eliminates repetitive scalar implementation work by providing battle-tested, MIT-licensed types for common data formats like UUIDs, URLs, and currency values. For executives, it reduces engineering costs and accelerates time-to-market by ensuring API consistency and reducing bugs from manual validation. For engineering teams, it simplifies schema maintenance, enforces type safety out-of-the-box, and integrates seamlessly with existing GraphQL-PHP infrastructure—freeing developers to focus on high-value features rather than low-level parsing logic."

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