Package Data | |
---|---|
Maintainer Username: | modbase |
Maintainer Contact: | stijn.geselle@gmail.com (Stijn Geselle) |
Package Create Date: | 2014-07-28 |
Package Last Update: | 2014-07-28 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-30 15:26:29 |
Package Statistics | |
---|---|
Total Downloads: | 23 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
THIS IS A WORK IN PROGRESS
DO NOT USE THIS PACKAGE YET!
A package that allows for external authentication with Esotalk, integrating directly with the Laravel 4 framework.
Strongly based on the Fluxbb External Authenticator made by Franz Liedke.
Add this line to the require
section of your composer.json
:
"modbase/esotalk-auth": "dev-master"
Alternately, you can use the Composer command-line tool by running this command:
composer require modbase/esotalk-auth
Next, run composer update
to actually install the package.
In your Laravel application, edit the app/config/app.php
file and add this
line to the providers
array:
'Modbase\EsotalkAuth\EsotalkAuthServiceProvider',
In order to read some configuration values, the path to your Esotalk installation needs to be configured.
To copy the package configuration file, run this command:
php artisan config:publish modbase/esotalk-auth
You can then edit app/config/packages/modbase/esotalk-auth/config.php
.
Change the path
option to point to the root directory of your Esotalk
installation. Make sure it ends with a slash.
In your application, edit the app/config/auth.php
file and set the driver
option to esotalk
, so that it looks like this:
'driver' => 'esotalk',
Once installed, you can use the authentication feature of Laravel as you always do, with Laravel magically using Esotalk's database and cookie behind the scenes.
Note: Only MySQL is supported by Esotalk.