Class ‘Laravel\Sanctum\Sanctum’ not found

Laravel Sanctum provides a featherweight authentication system for single page applications, mobile applications, and simple, token based APIs. Sanctum allows each user of your application to generate multiple API tokens for their account. These tokens may be granted abilities / scopes which specify which actions the tokens are allowed to perform.

composer require laravel/sanctum
composer update

Bring macOS app to front when dock icon gets clicked

Implement applicationShouldHandleReopen in your AppDelegate

func applicationShouldHandleReopen(_ sender: NSApplication,
                                       hasVisibleWindows flag: Bool) -> Bool {
        // Bring app window when dock icon gets clicked
        if !flag {
            for window: AnyObject in sender.windows {
                window.makeKeyAndOrderFront(self)
            }
        }
        
        return true
}