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:
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:
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.