aoculi/slim-api-users

Add Users and Auth endpoints to your Slim Api project (aoculi/slim-api)

0.0.2 2017-10-06 17:04 UTC

This package is not auto-updated.

Last update: 2020-08-05 21:25:58 UTC


README

Build Status License

Warning: this package is not ready yet for production.

This package is aimed to be used only with aoculi/slim-api. It add Users and Auth endpoints to your Slim Api project.

Installing

In your slim api project

make endpoint-users

Add the new endpoints on public/index.php

$app = (new App($config))
    -> ...
    ->addEndpoint(Api\Endpoints\Authentication\Routes\Authentication::class)
    ->addEndpoint(Api\Users\Routes\Users::class); 

To do

  • Manage tokens
  • Manage session
  • Manage roles?