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

Laravel Structure Kit Laravel Package

mehedi250/laravel-structure-kit

View on GitHub
Deep Wiki
Context7
v0.1.6

v0.1.6 — 2026-06-07

Bug Fixes

  • Controller base class — changed from App\Http\Controllers\Controller (removed in Laravel 11) to Illuminate\Routing\Controller, fixing the plugin and all generated controllers on Laravel 11 and 12
  • Service / Repository interface mismatch — service interface was an exact copy of the repository interface; redesigned as a separate business-level contract with getAll, find, create, update, delete, count, paginate
  • service-without-repo stub — was a clone of the repository implementation; rewritten to implement the service interface directly using the model
  • ns() namespace resolution — was blindly prepending App\ to any custom path (e.g. Modules\ProductApp\Modules\Product); now only prepends for app/ prefix paths and returns custom paths as-is
  • Migration tracking — used to record the migration path before Artisan ran; now uses glob() after Artisan::call() to find the actual file Laravel created
  • generatedFiles singleton contamination — service was a singleton that accumulated files across requests; $generatedFiles is now reset at the start of each generation
  • --force flag — was accepted but never applied; now threaded through make()generateFromStub()createFile()
  • --dry-run flag parsing — used isset($components['model']) on a flat array; fixed to use in_array()
  • Migration guard — migration was running unconditionally even when not selected; wrapped in in_array('migration', $components) check
  • Success message during dry-run — was printing even when no files were written; moved inside the non-dry-run branch
  • Tree root connector — always rendered ├── for the root item; fixed to └── when last
  • TreePrinter constructor — required a ConsoleOutput argument that callers weren't passing; now creates its own internally
  • chmod() on Windows — was called unconditionally; now guarded with PHP_OS_FAMILY !== 'Windows'
  • (bool) cast on Eloquent delete() / update() — these return int (affected rows); repository stub methods declared : bool causing TypeError under strict_types=1; added (bool) cast
  • Hidden inputs unchecked on page load — all 7 hidden component inputs now carry the checked attribute on load
  • Duplicate CSS variable — duplicate --bg-gradient declaration removed
  • Force-overwrite via web — controller now hardcodes 'extra' => ['force' => false] so raw form data cannot trigger file overwrites
  • Commented dd() debug call — removed

Improvements

  • UI form — submission now uses Fetch API (no page reload); success and error messages fade in above the form
  • Frontend path validation — form blocks submission if any selected component's path does not start with app/; shows which components have invalid paths
  • Live tree preview — migration entry now shows correct snake_plural format (e.g. create_products_table) matching what Laravel actually generates
  • Path memory — "Remember current path" checkbox persists custom namespace paths in localStorage across sessions; "Refresh Path" resets all fields to defaults
  • Version constantStructureKitServiceProvider::VERSION is the single source of truth; the UI panel header and footer both reference it
  • symfony/console — added to composer.json require (was used but undeclared)
  • generateFromStub() — returns bool; make() only appends to $generatedFiles when the file was actually written

Documentation

  • README fully rewritten with the browser UI panel as the primary workflow (step-by-step), CLI moved to a secondary section
  • composer.json description rewritten to be accurate and Packagist-friendly
  • Added funding (GitHub Sponsors) and support.security keys to composer.json
  • Removed non-standard readme key from composer.json
v0.1.5

✨ Improvements Enhanced overall code quality for better readability and maintainability Refactored internal logic to improve performance and consistency 🐛 Bug Fixes Fixed various known issues to ensure a more stable experience Resolved minor bugs reported in previous versions 🔄 Compatibility Updated the package to be fully compatible with Laravel 13

v0.1.4
0.1.3
0.1.2
0.1.1
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.
boundwize/jsonrecast
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata