Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

KWRI/LaravelGluuWrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Gluu Wrapper

This package provides an integration for your laravel application with Gluu server.

Installation

To install this package you should add these lines into your composer.json

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/kwri/LaravelGluuWrapper"
    }
  ],

  "require": {
    "kwri/laravel-gluu-wrapper": "dev-master"
  },

  "prefer-stable": true,
  "minimum-stability": "dev"
}

Since this package is in its early state, you have to include prefer-stable and set minimum-stability to true.

After that, run composer update from your terminal.

To use this package, add KWRI\LaravelGluuWrapper\ServiceProvider::class into your service provider configuration inside config/app.php

If you want to use facade, add 'GluuWrapper' => KWRI\LaravelGluuWrapper\Facades\GluuWrapper::class, into aliases inside your config/app.php

Configuration

  1. Run php artisan vendor:publish
  2. Migrate the access_tokens table using php artisan migrate
  3. Modify config/gluu-wrapper.php with your environment configuration

Using Middleware

The middleware in this library depends on tymon/jwt-auth. Make sure your application use this library too.

To use the middleware, add 'gluu' => \KWRI\LaravelGluuWrapper\Middleware\GluuToken::class, in your app\Http\Kernel.php file, and use gluu middleware.

About

Gluu Wrapper library as Laravel package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  

Languages