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 Extend Laravel Package

zedisdog/laravel-schema-extend

Extend Laravel's schema builder with extra column types and helpers, making it easy to define database structures the framework doesn't support out of the box. Add custom columns to migrations and keep your schema expressive.

Deep Wiki
Context7

Product Decisions This Supports

  • Migration velocity on legacy/brownfield schemas. When the team inherits a database (or must reproduce one) whose columns rely on modifiers Laravel’s Blueprint doesn’t expose natively — column comments, AFTER positioning, collation, fulltext indexes, unsigned/signed toggles — this package lets engineers express those changes in idiomatic migration code instead of raw DB::statement() calls.
  • Feature scoping around schema expressiveness. Teams can decide to ship “self-documenting” schemas (comments on every column for data-governance, BI, or audit tooling) as a first-class feature rather than a post-hoc cleanup, because the cost of adding them drops from “manual SQL per environment” to a one-line migration.
  • Build vs. buy for internal tooling. Replaces an internal MigrationHelper trait or a scattered set of raw-SQL conventions with a small, testable dependency. The PM trade-off is dependency surface vs. a homegrown utility that only one engineer understands.
  • Roadmap sequencing for database-adjacent features. Useful when evaluating whether to prioritize features that require schema changes (e.g., soft-delete columns, JSON payload columns, ordered columns for report generation) where native Laravel support is version-dependent.
  • Use cases: brownfield app modernization, multi-tenant DB provisioning where comments/tags aid ops, MySQL-centric products, teams standardizing schema conventions across services.

When to Consider This Package

Adopt when:

  • You are on a Laravel version where the specific modifiers you need are not native (verify per feature — Laravel has absorbed several of these over time, e.g. column comment() and JSON support).
  • Your database target is MySQL/MariaDB, where AFTER, COMMENT, and fulltext semantics are meaningful.
  • Schema comments or column ordering feed a real downstream consumer: DBAs, BI tools, data catalogs, ERD generation, or audit requirements.
  • You want migrations to stay declarative and reviewable rather than accumulating raw DB::statement() blocks.
  • 61 stars is acceptable because the package is a thin, easily-forked extension of a stable Laravel base class — i.e., you can vendor it or replace it in a day if it goes stale.

Look elsewhere or decline when:

  • You are on a current Laravel release where the needed capability is native. Adding a dependency for features you already have is pure risk with zero upside.
  • Your database layer must be portable across Postgres/SQLite. Many of these modifiers are MySQL-flavored; portability becomes a support burden.
  • License due diligence is required. WTFPL is maximally permissive but is frequently flagged by legal/compliance teams and may be excluded by automated license scanners — get sign-off before it lands in a shipped product.
  • Maintenance/bus-factor risk is unacceptable. Unknown repository, low star count, and a single-maintainer signal argue against it for a foundational or long-lived migration layer.
  • You need guarantees (security review, SLA, CVE response). Nothing here provides that.

Mitigations if adopted: pin the version, vendor/fork it, write a thin internal wrapper so it can be swapped, and add a migration-lint test in CI.

How to Pitch It (Stakeholders)

For executives (one paragraph): This is a small, free, open-source add-on that makes our database migrations more expressive — letting engineers declare things like column comments, column ordering, and index types directly in code instead of hand-written SQL. The business value is faster, cleaner delivery on projects that inherit or must match an existing database, plus self-documenting schemas that help operations and reporting. There is no license cost, but adoption is low and the project is maintained by a single author, so I recommend using it narrowly — behind a thin internal wrapper — rather than as a platform standard, and clearing the license with legal first.

For engineering (summary): It extends Laravel’s Blueprint with extra column modifiers and index helpers (comments, AFTER positioning, collation, fulltext, etc.) so migrations stay declarative and reviewable. It’s a thin wrapper over the framework base class, so the exit cost is low — but treat it as a convenience, not a contract: pin the version, avoid depending on undocumented methods, prefer native Laravel syntax wherever it already exists, and keep raw-SQL fallbacks in mind for portability. Add a CI check that migrations still run on a clean database so a stale dependency can’t silently break setup.

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.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel