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

mnabialek/laravel-version

Laravel Version lets you display your app's version number from composer.json, config, or a custom file, with helpers, Blade directives, and caching so you can show it in views, APIs, or health checks.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit The package is a Composer-distributed Laravel library, and v1.0.9 is a patch-level release whose only stated change is widened framework compatibility ("Add Laravel 12 support"). For a Laravel-centric application stack this is a positive, low-drama signal: the maintainer is tracking upstream framework releases rather than letting the package drift into an unsupported state. Fit depends on whether the package follows standard package conventions (service provider with auto-discovery, publishable config/migrations, no assumptions about a specific application skeleton). That cannot be confirmed from the release note alone — no composer.json, dependency tree, CI configuration, or source data was supplied with this release.

Integration feasibility Laravel 12 is an incremental major release with a comparatively small breaking-change surface, so a package that already supports Laravel 11 can typically add Laravel 12 by widening the illuminate/* constraints. Integration effort is therefore expected to be low: bump the package, run the existing test suite, verify provider registration and any published assets. The main feasibility gate is the PHP floor — Laravel 12 requires PHP 8.2+, so any environment still on PHP 8.1 is excluded regardless of this package's own constraints.

Technical risk Low to moderate. Specific risks:

  • Semver signal. Shipping new-framework support in a patch release is acceptable only if the change is purely additive (constraint widening). Confirm that older Laravel constraints were not silently dropped in the same commit — that would make a "patch" breaking for anyone on Laravel 10/11.
  • Test coverage vs. constraint widening. The classic failure mode is adding ^12.0 to composer.json without adding a CI job that actually runs the suite against Laravel 12. "Supported on paper" is not supported.
  • Transitive dependency conflicts. The package's own dependencies may not yet declare Laravel 12 compatibility, which surfaces as an unresolvable Composer conflict at install time rather than a runtime bug.
  • Legacy scaffolding assumptions. If the package still relies on pre-Laravel-11 structures (app/Http/Kernel.php, app/Console/Kernel.php, manual provider registration in config/app.php), the L12 support may be superficial and break under the new bootstrap model.

Key questions

  1. Was the Laravel 12 constraint added alongside a passing CI job on Laravel 12, or only added to composer.json?
  2. Does v1.0.9 remove support for any prior Laravel version or raise the PHP minimum?
  3. What is the package's full support matrix now (Laravel 9/10/11/12, PHP 8.1/8.2/8.3/8.4)?
  4. Are there open issues or PRs referencing Laravel 12 breakage that this release does not address?
  5. Is the package's own dependency tree Laravel 12-compatible, or does installation require --with-all-dependencies gymnastics?

Integration Approach

Stack fit Assume a Laravel application on 11.x targeting 12.x, PHP 8.2+, Composer 2.x. This release makes the package a viable dependency on the target stack. Where the package sits in the architecture (HTTP middleware, queue worker, console command, or pure library code) determines blast radius: middleware and queue-integrated packages carry more upgrade risk than utility libraries.

Migration path

  1. Confirm the package version that first declares Laravel 12 support (v1.0.9) and pin to ^1.0.9 rather than a floating constraint.
  2. Upgrade the application framework first, in isolation, on a branch; then bump the package. Isolating the two makes failures attributable.
  3. Run composer update <vendor>/<package> --with-dependencies and capture the resolved dependency graph for review.
  4. Execute the package's own publish commands (vendor:publish) only if config or migration stubs changed; diff published files against the repo before committing.
  5. Validate the package's integration surfaces explicitly: service provider boot, facade aliases, scheduled tasks, queue jobs, and any migrations.

Compatibility Verify the intersection of three constraints: PHP version, Laravel version, and the package's own transitive dependencies. Note that Laravel 12's PHP 8.2 floor will likely force a PHP upgrade in older environments before this package can be adopted at all — sequence the PHP upgrade ahead of the framework upgrade, not alongside it.

Sequencing PHP 8.2+ rollout → Laravel 11 → Laravel 12 → package bump to ^1.0.9. If the application is already on Laravel 12, the package bump is a standalone, low-risk change that can ship in a routine maintenance window. Avoid combining this bump with unrelated dependency upgrades in the same release.

Operational Impact

Maintenance Minimal. A patch-level compatibility release requires no code changes on our side if the package is used through its public API. The recurring cost is monitoring: add the package to the dependency-watch list alongside framework minor releases so future compatibility gaps are caught before they block an upgrade.

Support Laravel 12's support window (bug fixes through roughly mid-2026, security fixes through roughly early 2027) now bounds how long this package version remains viable. Confirm the maintainer's stated support policy — a package at v1.0.x with active framework tracking is a good sign, but there is no evidence in this release of a documented support or deprecation policy.

Scaling Not a material concern for this change. Compatibility releases do not alter runtime characteristics. If the package participates in request or queue hot paths, validate performance under the new framework version only if the framework upgrade itself changes those paths.

Failure modes

  • Composer resolution failure at install time (transitive conflicts) — caught in CI, low production risk.
  • Silent provider/alias non-registration under Laravel 12's auto-discovery if extra.laravel metadata is malformed — manifests as missing bindings at runtime, not at boot.
  • Config/migration drift if published assets changed between versions and were not re-published.
  • Partial upgrade where the application is on Laravel 12 but an adjacent package is not, producing inconsistent behavior that is hard to attribute.

Ramp-up Near zero for engineers already familiar with the package. Budget half a day for a careful upgrade-and-verify cycle on a staging environment, plus review time to answer the key questions above. The dominant effort is verification, not implementation.

Assessment caveat: this evaluation is derived solely from the v1.0.9 release note. No package metadata, repository data, or prior assessment was available. Confirm the support matrix and CI coverage before treating Laravel 12 compatibility as validated rather than declared.

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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource