auth()->user()," and the default answer is the latter.loggedInUser() to getLoggedInUserForLaraLike() with no alias or deprecation shim. Any app already calling the old name will fatal on a patch upgrade. If the package is in the codebase, this is a scheduled migration task, not an optional bump — and it is the only decision this release genuinely forces.auth()->user() in application code, with any third-party helper wrapped behind an app-owned function so upstream renames never ripple across call sites.Adopt or retain only when all of the following hold:
"vendor/package": "1.0.4") and wrap the call in an application-level helper so the next rename is a one-line change.Look elsewhere — or write the helper yourself — when:
auth()->user() is first-party, documented, and cannot be renamed out from under you.To executives: This is a micro-utility, not a platform decision, and it does not affect roadmap or differentiation. The one thing worth their attention is governance: the package shipped a breaking API rename in a patch release, which means we cannot rely on its version numbers to tell us when upgrades are safe. Recommendation is to keep it contained — pin the version and isolate the call behind our own helper — or drop it in favor of Laravel's built-in auth accessor at the next touch of that code.
To engineering: The 1.0.4 change is a hard break: loggedInUser() is now getLoggedInUserForLaraLike(), renamed to dodge namespace conflicts, with no compatibility alias. If we consume it, pin to an exact version, wrap it in an app-level function so future renames are single-point, and add the rename to the upgrade checklist. If we don't already consume it, don't add a dependency for what auth()->user() already does — the collision-avoidance rationale in the changelog is itself the argument for staying on the first-party API.
How can I help you explore Laravel packages today?