PHP Package: laminas/laminas-oauth

Laminas OAuth library provides secure authentication and authorization functionalities for PHP applications.

Current Version: 2.7.0
Last Updated: 2024-10-23
PHP Requirement: ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
Dependencies:
laminas/laminas-http
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laminas OAuth library is a comprehensive solution for implementing OAuth 1.0 and OAuth 2.0 protocols. It enables developers to integrate secure authentication and authorization mechanisms seamlessly into their PHP projects. With robust features and flexibility, this library simplifies the process of managing user access to protected resources.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.7.0

Download Download v2.7.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/laminas/laminas-oauth/2.7.0/loader.php';
require_once 'libs/laminas/laminas-http/2.22.0/loader.php';
require_once 'libs/php/{lib_version}/loader.php';
require_once 'libs/ext-json/{lib_version}/loader.php';

use Laminas\OAuth\OAuth;
use Laminas\OAuth\OAuth1;

$obj = new OAuth();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.