darvis/nuki
A Laravel package for integrating Nuki smart locks. Configure API credentials, query locks and doors, trigger lock and unlock actions, and handle Nuki webhooks through a clean, fluent PHP interface.
AuthenticateNukiUser, RedirectIfNukiUser) rather than relying on host login/dashboard routes.NUKI_UI_ENABLED=false a supported API-only/headless mode?nuki:user-create behave idempotently, and how does it report partial failures?Darvis\Nuki\Http\Middleware\AuthenticateNukiUser and use NukiAccount::ROLE_OWNER / ROLE_MEMBER for role checks.$user->accounts()->syncWithoutDetaching([$account->id => ['role' => 'owner']]).php artisan nuki:user-create --account=<account_key> for new main users where applicable.redirectGuestsTo() closure from the 1.2.1 documentation was added, it can be removed, though leaving it is harmless.layouts/app.blade.php against the package version, especially UI links, account switcher, and brand link behavior./nuki/login; signed-in package users are redirected to auth_users.redirect_after_login; sub users see only permitted locks and log entries. Installations without package users are unchanged. Host applications that relied on package pages redirecting to host login/dashboard must update tests and runbooks.view_logs or lock permissions. Missing-account reports may indicate unattached main users, especially for accounts created under 1.2.0.nuki.dashboard when NUKI_UI_ENABLED=false, causing errors. Mixed host/package auth middleware can create redirect loops or unexpected login destinations. Custom endpoints may still expose cross-account data if they do not use the new middleware and permission checks.How can I help you explore Laravel packages today?