2017 © Pedro Peláez
 

library client

UserBase PHP Client: Identity + Login + Signup Service

image

userbase/client

UserBase PHP Client: Identity + Login + Signup Service

  • Thursday, June 21, 2018
  • by joostfaassen
  • Repository
  • 2 Watchers
  • 2 Stars
  • 1,588 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 29 Versions
  • 12 % Grown

The README.md

Userbase client for PHP

About Userbase

Userbase is a micro-service with a REST/JSON API that manages users, organizations and api keys., (*1)

A Userbase Client can make calls to a Userbase Server authenticate users, get account details, etc., (*2)

Usage

Instantiate the client

Instantiate a new client object:, (*3)

$url = 'https://joe:secret@userbase.example.com';
$client = new Client($url);

The provided credentials need to have "Admin" privileges on the Userbase Server., (*4)

Check credentials

if (!$client->checkCredentials('alice', 'shhhh')) {
  exit('Invalid credentials');
}
echo 'Welcome back!';

Testing/Development

The examples/ directory contains a few example scripts that you can use during testing and development., (*5)

First, copy the .env.dist file to .env. Edit the contents to match your Userbase server and credentials., (*6)

cp .env.dist .env e
edit .env # Edit configuration, database settings etc
 ./vendor/bin/envoi validate  # Run command validate based on meta file .env.yaml

Then you can simply execute the examples like this:, (*7)

php examples/checkcredentials.php alice sshhh

Please refer to the examples/ directory for other examples., (*8)

Integrations

Silex

A Silex Provider is available here, (*9)

Symfony

A Symfony bundle can be found here. It works with Symfony 4 and 5 projects., (*10)

License

MIT. Please refer to the license file for details., (*11)

Brought to you by the LinkORB Engineering team


Check out our other projects at linkorb.com/engineering., (*12)

Btw, we're hiring!, (*13)

The Versions

21/06 2018

dev-master

9999999-dev http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

The Development Requires

signup user login account

15/05 2018

v1.3.0

1.3.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

The Development Requires

signup user login account

06/04 2018

v1.2.0

1.2.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

The Development Requires

signup user login account

24/02 2018

v1.1.0

1.1.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

The Development Requires

signup user login account

03/07 2017

v1.0.0

1.0.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

25/05 2017

v0.14.0

0.14.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

09/05 2017

v0.13.1

0.13.1.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

09/05 2017

v0.13.0

0.13.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

09/05 2017

v0.12.0

0.12.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

08/09 2016

v0.11.1

0.11.1.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

07/09 2016

v0.11.0

0.11.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

14/08 2016

v0.10.0

0.10.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

13/08 2016

v0.9.0

0.9.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

07/08 2016

v0.8.0

0.8.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

12/06 2016

v0.7.2

0.7.2.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

27/05 2016

v0.7.1

0.7.1.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

20/05 2016

v0.7.0

0.7.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

02/03 2016

V0.6.2

0.6.2.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

01/03 2016

v0.6.1

0.6.1.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

28/02 2016

v0.6.0

0.6.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

25/02 2016

v0.5.0

0.5.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

15/02 2016

v0.4.1

0.4.1.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

15/02 2016

v0.4.0

0.4.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

15/02 2016

v0.3.0

0.3.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

27/09 2015

v0.2.2

0.2.2.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

27/09 2015

v0.2.1

0.2.1.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

27/09 2015

v0.2.0

0.2.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

03/06 2015

v0.1.1

0.1.1.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account

26/05 2015

v0.1.0

0.1.0.0 http://www.github.com/userbase-project/userbase-client-php

UserBase PHP Client: Identity + Login + Signup Service

  Sources   Download

The Requires

 

signup user login account