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 Auto Create Uuid Laravel Package

mindtwo/laravel-auto-create-uuid

Auto-fill a UUID v4 on Eloquent models when creating or replicating. Add a trait, add a uuid column, and it just works—no config. Supports custom UUID column names and ensures replicas get a fresh UUID by excluding the UUID attribute on replicate.

View on GitHub
Deep Wiki
Context7
3.0

This is a major release. Drops EOL Laravel (7-9) and PHP (8.0/8.1), modernizes the tooling, and aligns docblocks with Laravel core conventions. No runtime behavior change for existing callers on a supported platform.

Upgrading from 2.x

  • Make sure your environment runs PHP 8.2+ and Laravel 10, 11, 12, or 13.
  • If you relied on the Workbench composer scripts (prepare, build, start, clear, post-autoload-dump), they have been removed.

Added

  • Laravel Pint configuration (pint.json) using the laravel preset.
  • PHPStan configuration (phpstan.neon.dist) at level 8 with Larastan.
  • Pest test coverage for the $uuid_column property, the overridable getUuidColumn() method, and validation of pre-set UUIDs.
  • keywords, expanded description, and additional README badges in composer.json.

Changed

  • BC Bumped minimum PHP version to 8.2.
  • BC Bumped minimum Laravel version to 10; dropped support for Laravel 7, 8, and 9.
  • Switched UUID validation from Ramsey\Uuid\Uuid::isValid() to Laravel's Str::isUuid() to avoid a direct dependency on the Ramsey package.
  • Code style and docblocks aligned with the Laravel framework conventions.
  • GitHub Actions workflows tightened: run-tests, phpstan, fix-php-code-style-issues, and update-changelog now reference the master branch consistently and the test matrix covers PHP 8.2 - 8.4 against Laravel 10 - 13.

Removed

  • BC Unused Workbench-related composer scripts (prepare, build, start, clear, post-autoload-dump).
  • Legacy .travis.yml, .scrutinizer.yml, .styleci.yml, .php_cs.dist, and .phpunit-watcher.yml configuration files.
  • Direct dependency on ramsey/uuid in the trait (still installed transitively via illuminate/support).

Full Changelog: https://github.com/mindtwo/laravel-auto-create-uuid/compare/2.6.5...3.0

2.6.5
2.6.4
2.1.0
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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky