Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

chillerlan/php-oauth-core

Repository files navigation

chillerlan/php-oauth-core

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.