Authentication Guard
Koselig provides an authentication guard for Laravel that integrates with WordPress, this provides a simple yet elegant interface to deal with the current user and allows you to use all of the authentication methods provided by Laravel and allows you to use authentication middleware provided by Laravel such as auth
and guest
.