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 Schema Generator Laravel Package

romegasoftware/laravel-schema-generator

A Laravel package that generates migration files from an existing database schema. It inspects tables, columns, indexes, and foreign keys, then scaffolds ready-to-edit migrations, making legacy databases and reverse-engineering projects easier to bring into Laravel.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Adopt for forms with relative date rules: The release fixes browser-side handling of relative comparisons such as before:+1 week, making generated validation assets stable while limits advance with the current time. This supports features like booking windows, trial expirations, eligibility periods, and “must be within X days” constraints.
  • Build vs. buy: Favor using the package when the product needs parity between Laravel/PHP validation and browser validation for date rules. Custom JS/PHP duplication is costly and error-prone for relative dates.
  • Roadmap risk: The fix is a patch-level correctness improvement, not a breaking change. PHP 8.5 deprecation notices remain, so roadmap planning should include an upgrade/cleanup item if the product targets PHP 8.5.
  • Use cases: Dynamic date-picker limits, server/client validation consistency, generated validation files that should not churn on every deploy, and rules using signed offsets in seconds through weeks with optional now prefix.

When to Consider This Package

  • Consider it when the Laravel application already uses generated or shared validation rules and needs relative date comparisons to behave consistently in the browser and on the server.
  • It is a good fit when validation limits should move with the clock without requiring generated files to be rebuilt or redeployed.
  • It is also appropriate when the team can standardize on UTC server timezone for equal PHP/browser date limits.
  • Look elsewhere or defer adoption if the product requires strict PHP 8.5 support with no deprecation notices, has complex per-user timezone date-limit requirements, or does not need browser-side validation parity.
  • Treat it as lower urgency if the product does not use relative date rules in generated validation assets; the release is a targeted bug fix rather than a broad feature expansion.

How to Pitch It (Stakeholders)

  • Executives: This is a low-risk patch release that improves correctness for time-sensitive form validation. All 374 package tests pass with 1,082 assertions, and there are no indicated breaking changes. The main caveat is remaining PHP 8.5 deprecation noise, which should be tracked but does not block most current Laravel deployments.
  • Engineering: Relative date rules like before:+1 week are now calculated in the browser during validation, so generated files remain stable while limits move with the clock. Signed offsets in seconds, minutes, hours, days, and weeks are supported, with an optional now prefix. Days and weeks use elapsed durations; use UTC server timezone for equal PHP and browser limits.
  • Product/QA: Validate forms that rely on rolling date windows, especially around day/week boundaries and timezone assumptions. Confirm that generated validation assets are not unexpectedly changing between builds and that browser-side limits match server-side outcomes.
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.
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
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox