2017 © Pedro Peláez
 

library laravel-bouncer

Rigorously restricts access to your apis.

image

aplr/laravel-bouncer

Rigorously restricts access to your apis.

  • Tuesday, May 8, 2018
  • by aplr
  • Repository
  • 1 Watchers
  • 0 Stars
  • 28 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 40 % Grown

The README.md

🦍 Bouncer

Introduction

The bouncer package enables you to restrict access to your apis using application keys., (*1)

Installation

Require the aplr/laravel-bouncer package in your composer.json and update your dependencies:, (*2)

$ composer require aplr/laravel-bouncer

Usage

In order to check if requests to your api include a valid key, you can use the Bounce-middleware:, (*3)

protected $middlewareGroups = [
    'web' => [
       // ...
    ],

    'api' => [
        // ...
        \Aplr\Bouncer\Bounce::class,
    ],
];

To generate a new key, simply use the following method:, (*4)

use Aplr\Bodybuilder\Facades\Bouncer;

$key = Bouncer::createKey('My App');

You can manually check if a given key is valid by using the following method:, (*5)

$valid = Bouncer::check('ZKEpwUSii5yvWt1xgLwHd8yguQGBZtrSi39hXFFd');

The Versions

08/05 2018

dev-master

9999999-dev

Rigorously restricts access to your apis.

  Sources   Download

The Requires

 

The Development Requires

by Andreas Pfurtscheller

laravel api access bouncer

08/05 2018

v0.1.6

0.1.6.0

Rigorously restricts access to your apis.

  Sources   Download

The Requires

 

The Development Requires

by Andreas Pfurtscheller

laravel api access bouncer

08/05 2018

v0.1.5

0.1.5.0

Rigorously restricts access to your apis.

  Sources   Download

The Requires

 

The Development Requires

by Andreas Pfurtscheller

laravel api access bouncer

20/04 2018

v0.1.4

0.1.4.0

Rigorously restricts access to your apis.

  Sources   Download

The Requires

 

The Development Requires

by Andreas Pfurtscheller

laravel api access bouncer

20/04 2018

v0.1.3

0.1.3.0

Rigorously restricts access to your apis.

  Sources   Download

The Requires

 

The Development Requires

by Andreas Pfurtscheller

laravel api access bouncer

20/04 2018

v0.1.2

0.1.2.0

Rigorously restricts access to your apis.

  Sources   Download

The Requires

 

The Development Requires

by Andreas Pfurtscheller

laravel api access bouncer

20/04 2018

v0.1.1

0.1.1.0

Rigorously restricts access to your apis.

  Sources   Download

The Requires

 

The Development Requires

by Andreas Pfurtscheller

laravel api access bouncer

18/04 2018

v0.1

0.1.0.0

Rigorously restricts access to your apis.

  Sources   Download

The Requires

 

The Development Requires

by Andreas Pfurtscheller

laravel api access bouncer