2017 © Pedro Peláez
 

library rest

Package for WTF Framework

image

wtf/rest

Package for WTF Framework

  • Friday, April 6, 2018
  • by rakshazi
  • Repository
  • 1 Watchers
  • 2 Stars
  • 80 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

REST module

Build Status Coverage Status, (*1)

Installation

Install via Composer

composer require wtf/rest

Configure your app

Create config file jwt.php:, (*2)

<?php

declare(strict_types=1);

return [
    "path" => "/api",
    "passthrough" => ["/api/login"],
    "secret" => 'JWT_SECRET',
];

Documentation: tuupola/slim-jwt-auth, (*3)

Add new provider and middleware

  1. \Wtf\Rest\Provider into your providers list (suit.php config)
  2. jwt_middleware into your middlewares list (suit.php config)

The Versions

06/04 2018

dev-master

9999999-dev http://framework.wtf

Package for WTF Framework

  Sources   Download

MIT

The Requires

 

06/04 2018

1.0.4

1.0.4.0 http://framework.wtf

Package for WTF Framework

  Sources   Download

MIT

The Requires

 

06/04 2018

dev-stabilization

dev-stabilization http://framework.wtf

Package for WTF Framework

  Sources   Download

MIT

The Requires

 

28/03 2018

1.0.3

1.0.3.0 http://framework.wtf

Package for WTF Framework

  Sources   Download

MIT

The Requires

 

01/03 2018

1.0.2

1.0.2.0 http://framework.wtf

Package for WTF Framework

  Sources   Download

MIT

The Requires

 

27/02 2018

1.0.1

1.0.1.0 http://framework.wtf

Package for WTF Framework

  Sources   Download

MIT

The Requires

 

22/02 2018

1.0.0

1.0.0.0 http://framework.wtf

Package for WTF Framework

  Sources   Download

MIT

The Requires