oguzcandemircan/laravel-unique-sluggable
A Laravel package that automatically generates unique, collision-free slugs for your Eloquent models, so you can create readable URLs without worrying about duplicates or manual checks.
This assessment is reconstructed from the package's release history; v0.4.0 is a framework-compatibility release ("added Laravel 9&10 support") rather than a feature release, so the workflow below is anchored on installation, discovery, and upgrade verification. Confirm specifics against the package README and src/ before relying on any named API.
dev- branch to get the framework to resolve, you can now use an upstream tagged release. That alone makes 0.4.0 the first version worth adopting on a modern app.composer require vendor/package:^0.4. Note the caret semantics on a 0.x package — ^0.4 allows 0.4.x only and will not pull 0.5. If you want to float, say so explicitly; if you want stability, pin 0.4.*.php artisan package:discover (or just php artisan about on L9/L10) and confirm the service provider is listed. If the package does not use auto-discovery, register the provider manually in config/app.php — and only there.composer.json in the package for require/require-dev constraints and the extra.laravel block, which tells you what auto-registers and what is publishable; (2) the service provider for bindings, publishes, and migrations; (3) config/ inside the package for the published config file; (4) the CHANGELOG/UPGRADING files, which are the authoritative source for whether 0.4.0 carries anything beyond the framework bump.php artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider"), run any shipped migrations, then exercise the package's primary entry point inside php artisan tinker or a single feature test before wiring it into application code. Getting one green path end-to-end on L10 is the whole point of this release.composer update vendor/package --with-all-dependencies → php artisan config:clear && php artisan route:clear && php artisan view:clear → re-publish config only if the shipped config file changed (diff the vendor copy first) → run the test suite. Do not vendor:publish --force reflexively; it will silently overwrite your local config edits.config/ directory and commit it. Overrides belong in .env if the package reads env, otherwise in the published file. Vendor edits vanish on the next composer install.composer.lock files and let each float independently; don't try to force one shared constraint across apps on different Laravel majors.^0.4 caps at <0.5, and by convention a 0.x minor bump may contain breaking changes. Pin exactly in production and upgrade deliberately; do not assume the next release is safe.doctrine/dbal-dependent column modifications, removed Str/Arr helpers, and the PHP 8.1 baseline. The package supporting L10 does not mean your code around it does.config/app.php under an older setup, and the new version also auto-discovers. You get duplicate bindings, doubled event listeners, or duplicated routes. Remove the manual entry.php artisan config:cache must be re-run on deploy, and config:clear before debugging.--tag= when the package defines tags; --provider= can pull in more files than you intended and overwrite unrelated assets.composer require won't resolve, run composer why-not vendor/package 0.4.* to see exactly which dependency is blocking, and composer show vendor/package --all to list available versions and their framework constraints.vendor/ is the path to a painful upgrade.How can I help you explore Laravel packages today?