zendframework/zend-mvc-plugin-identity
A Zend MVC controller plugin that provides quick access to the authenticated user's identity via the authentication service, letting controllers check login state and retrieve user details without manual service wiring.
zend-mvc-plugin-identity provides the Identity controller plugin for Zend Framework MVC applications, exposing the currently authenticated user from Zend\Authentication\AuthenticationService directly inside controllers. Call $this->identity() to retrieve the stored identity object, or null when no user is logged in.
It integrates cleanly with zend-authentication, supports any storage-backed authentication service, and can be given a custom service instance—making login-state checks concise and testable in your actions.
$this->identity() shortcut available in every controllernull for unauthenticated (guest) requestsAuthenticationService instanceHow can I help you explore Laravel packages today?