summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/providers.md2
-rw-r--r--src/Psecio/Gatekeeper/Provider/Laravel.php3
2 files changed, 5 insertions, 0 deletions
diff --git a/docs/providers.md b/docs/providers.md
index 5b9d9be..eaf5884 100644
--- a/docs/providers.md
+++ b/docs/providers.md
@@ -2,6 +2,8 @@
## Laravel
+**NOTE:** The current Laravel support is for 4.x based versions.
+
A Laravel authentication provider is included with the Gatekeeper package in `Psecio\Gatekeeper\Provider\Laravel`.
It's easy to add into your Laravel application and seamlessly works with the framework's `Auth` handling.
diff --git a/src/Psecio/Gatekeeper/Provider/Laravel.php b/src/Psecio/Gatekeeper/Provider/Laravel.php
index 82453ed..ca22d8d 100644
--- a/src/Psecio/Gatekeeper/Provider/Laravel.php
+++ b/src/Psecio/Gatekeeper/Provider/Laravel.php
@@ -7,6 +7,9 @@ use Illuminate\Auth\UserInterface;
use Illuminate\Auth\UserProviderInterface;
use Psecio\Gatekeeper\Gatekeeper;
+/**
+ * This provider is for only Laravel 4.x based applications
+ */
class Laravel implements UserProviderInterface
{
/**