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

Laravel Package Core Laravel Package

jobmetric/laravel-package-core

A core foundation for building Laravel packages with JobMetric: shared service providers, configuration handling, migrations, and helper utilities that standardize structure and speed up development.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Establishes a baseline assessment for release 1.26.0: a minor feature release that improves DTO ergonomics in Laravel/PHP applications.
  • Speeds up features that rely on explicit request/response payloads: controllers and services can use dto() and dtoMany() helpers to reduce array-to-DTO boilerplate and standardize how single and bulk payloads are created.
  • Supports roadmap work around consistency and maintainability: the new context parameter on DTO helper methods enables request/user/tenant/operation context to flow into DTO creation, which is useful for multi-tenant apps, audit trails, personalization, and policy-aware mapping.
  • Build vs buy: if the team already uses Laravel and wants a lightweight DTO layer, this release strengthens the case to adopt/buy rather than build a custom DTO factory/helper layer. If data mapping is core proprietary IP, evaluate whether the package’s conventions are flexible enough.
  • Use cases: API resources, form request normalization, command/event payloads, service-layer boundaries, test fixtures, and bulk ingestion via dtoMany().
  • Risk signal: no breaking changes or deprecations are called out, so product risk is low. The vague “update dto methods” item should still be validated against existing DTO overrides before rollout.

When to Consider This Package

  • Consider adoption when the Laravel codebase has repeated array-to-DTO mapping, inconsistent payload shapes, or a need for lightweight context propagation during DTO hydration.
  • Good fit when the team wants helper ergonomics (dto, dtoMany) and can standardize DTO conventions across modules without introducing a heavier mapping framework.
  • Look elsewhere if DTOs are not an established team pattern, the app is simple CRUD where Eloquent resources are sufficient, or the team needs advanced schema generation/validation beyond this package’s scope.
  • Also look elsewhere for non-Laravel/PHP stacks, heavy domain modeling that requires explicit mapper layers, or cases where release notes do not provide enough migration detail for existing DTO method overrides.
  • Adoption criteria: pin the version, run DTO construction tests, confirm the new context parameter does not conflict with existing method signatures, and document helper usage in team conventions.

How to Pitch It (Stakeholders)

  • Executives: This minor release reduces boilerplate for structured data handling in Laravel, which can speed delivery of API- and form-heavy features while improving consistency. No breaking changes are noted, so migration risk appears low. It supports standardization without building an internal DTO framework.
  • Engineering: 1.26.0 adds dto() and dtoMany() helpers, adds a context parameter to DTO helper methods, and updates DTO methods. Treat it as a backward-compatible feature release, but verify overridden DTO methods and context usage, add tests around helper-generated DTOs, and update internal docs. Best adopted incrementally in new code rather than as a forced rewrite.
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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource