PHP Package: laminas/laminas-oauth

Laminas OAuth library provides secure authorization for PHP applications, supporting OAuth 1.0a and OAuth 2.0 protocols with ease of integration and advanced security features.

Current Version: 2.7.0
Last Updated: 2024-10-23
PHP Requirement: >=7.1
Dependencies: phpunit/phpunit, guzzlehttp/guzzle, psr/log
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laminas OAuth library is a robust PHP solution for implementing OAuth-based authorization mechanisms in web applications. It offers comprehensive support for both OAuth 1.0a and OAuth 2.0 protocols, ensuring secure and reliable authentication workflows. With Laminas OAuth, developers can easily integrate social login, API access, and third-party authorization features into their projects, enhancing user experience and data protection.

🔗 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/autoload.php';

use Laminas\OAuth\OAuth1\Service\Twitter;
use Laminas\OAuth\OAuth2\Service\Google;
use GuzzleHttp\Client;
use PHPUnit\Framework\TestCase;
use Psr\Log\LoggerInterface;


$obj = new Laminas\OAuth\OAuth1\Service\Twitter();
echo "✅ Example created successfully.";

?>

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