Package Data | |
---|---|
Maintainer Username: | mithat |
Maintainer Contact: | mirasit.oz@gmail.com (Mithat Rasit Ozcikrikci) |
Package Create Date: | 2017-07-27 |
Package Last Update: | 2017-08-09 |
Home Page: | https://github.com/mithathan/ & http://www.cartalyst.com |
Language: | PHP |
License: | BSD-3-Clause |
Last Refreshed: | 2024-11-15 15:03:58 |
Package Statistics | |
---|---|
Total Downloads: | 43 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
SentryLdap is a fork of Cartalyst Sentry library. Added new features like ldap authentication.SentryLdap is a PHP 5.3+ fully-featured authentication & authorization system. It also provides additional features such as user groups and additional security features.
This branch works with Laravel 5.3 !
Sentry is a framework agnostic set of interfaces with default implementations, though you can substitute any implementations you see fit.
It also provides additional features such as user groups and additional security features:
Sentry features
Installation of SentryLdap is very easy. Open your composer.json file and add the following to the require array:
"mithat/sentry_ldap_for_laravel_5": "2.3.*"
to your composer.json file then follow one of the following guides to get SentryLdap working with your favorite framework.
For more information about Sentry, you must visit the sentry web site: https://cartalyst.com/manual/sentry/2.1
This library is still beta for ldap functions. You have to change this lines in your config file.
'ldap' => array(
'server' => 'ldapserver',
'port' => 'ldapport'
),
After this settings you have to follow sentry orginal document file. You can use ldap login like this;
// Set login credentials
$credentials = array(
'userid' => 'demo',
'password' => 'demo',
);
// Try to authenticate the user
$user = Sentry::authenticateWithLdap($credentials, false);
Also have Sentry::authenticateWithLdapAndRemember($credentials); function.
We offer support through our help forums, on IRC at #cartalyst for normal sentry issues, and through GitHub issues (bugs only) for Ldap issues.