jincor/laravel-auth-client

Artisan commands for work with the Jincor Auth Service

dev-master 2017-10-29 21:50 UTC

This package is not auto-updated.

Last update: 2024-04-28 01:50:25 UTC


README

This package brings a set of artisan commands that allows you work with Jincor Auth Service.

Installation

You can install the package via composer:

composer require jincor/laravel-auth-client

Register the service provider:

// config/app.php
 'providers' => [
     ...
     JincorTech\AuthClient\AuthClientServiceProvider::class,
 ],

Run php artisan vendor:publish for create a config file jincor-auth.php.

Usage

Run php artisan and you'll see new commands under the auth namespace.

php artisan
auth
 ...
 auth:login:tenant     Tenant login
 auth:register:tenant  Tenant registration

Project setup

  1. Clone the repo
  2. cd /path/to/repo
  3. docker-compose build - build development containers
  4. docker-compose up -d - run container

Local testing

To run all tests just type docker-compose exec workspace ./vendor/bin/phpunit

Credits

License

The MIT License (MIT). Please see License File for more information.