Download the PHP package vulah/kohana-sentinel without Composer
On this page you can find all versions of the php package vulah/kohana-sentinel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vulah/kohana-sentinel
More information about vulah/kohana-sentinel
Files in vulah/kohana-sentinel
Package kohana-sentinel
Short Description Kohana module for integrating sentinel into kohana
License MIT
Informations about the package kohana-sentinel
Kohana Sentinel Library
The sentinel library for Kohana 3 provides a simple integration with sentinel 2.*. You can configure your sentinel
integration by placing the config/sentinel.php
file into your app/config
folder and editing it.
Using Sentinel
To use Kohana Sentinel, install it by composer require. You can do this by running composer require vulah/kohana-sentinel
in your CLI.
Then add Kohana Sentinel to your modules in bootstrap.php
by adding the following line 'sentinel' => VENDORPATH.'vulah/kohana-sentinel'
.
To configure sentinel copy the vendor/vulah/kohana-sentinel/config/sentinel.php
or your app/config
folder and editing it.
Quick example
The following is a quick example of how to use Kohana Sentinel by creating a instance of Sentinel and calling the authenticate action.
$sentinel = \Kohana\Sentinel\SentinelFactory::create();
$sentinel->authenticate([
'email' => '[email protected]',
'password' => 'password',
]);
All versions of kohana-sentinel with dependencies
php Version >=5.5.9
cartalyst/sentinel Version ^2.0
illuminate/database Version ^5.2
illuminate/events Version ^5.2
symfony/http-foundation Version ^3.0