chillerlan/php-oauth-core

4.0.0 2021-04-14 20:51 UTC

This package is auto-updated.

Last update: 2023-05-27 12:26:25 UTC


README

A PHP OAuth1/2 client, loosely based on Lusitanian/PHPoAuthLib.

PHP Version Support Packagist version License Continuous Integration CodeCov Codacy Packagist downloads

Documentation

See the wiki for advanced documentation. An API documentation created with phpDocumentor can be found at https://chillerlan.github.io/php-oauth-core/ (WIP).

Requirements

Installation

requires composer

composer.json (note: replace dev-main with a version boundary)

{
	"require": {
		"php": "^8.1",
		"chillerlan/php-oauth-core": "dev-main"
	}
}

In case you want to keep using dev-main, specify the hash of a commit to avoid running into unforeseen issues like so: dev-main#ff85785139b9531a6c29d41cc161e4878d54491d

Profit!

Disclaimer

OAuth tokens are secrets and should be treated as such. Store them in a safe place, consider encryption.
I won't take responsibility for stolen auth tokens. Use at your own risk.