chillerlan/php-oauth-core

A PHP7.4+ OAuth client core library

4.0.0 2021-04-14 20:51 UTC

This package is auto-updated.

Last update: 2021-04-14 22:43:00 UTC


README

A PHP7.4+ OAuth1/2 client with an integrated API wrapper, loosely based on Lusitanian/PHPoAuthLib.

PHP Version Support Packagist version License Travis CI CodeCov Scrunitizer CI Packagist downloads
Continuous Integration phpDocs

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": "^7.4 || ^8.0",
		"chillerlan/php-oauth-core": "dev-main"
	}
}

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.