PHP Package: socialiteproviders/microsoft

SocialiteProviders Microsoft library for PHP allows seamless integration with Microsoft services for authentication.

Current Version: 4.7.0
Last Updated: 2025-07-06
PHP Requirement: ^8.0
Dependencies:
socialiteproviders/oauth2
microsoft/microsoft-graph
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

SocialiteProviders Microsoft is a PHP library designed to simplify the authentication process with Microsoft services such as Microsoft Azure Active Directory. It provides an easy and secure way to authenticate users and access Microsoft APIs. This library offers a seamless integration experience for developers looking to leverage Microsoft authentication in their PHP applications.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 4.7.0

Download Download v4.7.0

Previous Versions

Code Integration Example

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

<?php
// Example from PHPlibraries.com
require_once 'libs/socialiteproviders/microsoft/4.7.0/loader.php';
require_once 'libs/socialiteproviders/oauth2/{lib_version}/loader.php';

use SocialiteProviders\Microsoft\MicrosoftProvider;
use SocialiteProviders\Microsoft\MicrosoftResourceOwner;

$obj = new MicrosoftProvider();
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.