Get started with the Microsoft Graph SDK for PHP

Overview

Get started with the Microsoft Graph SDK for PHP

Build Status Latest Stable Version

Get started with the PHP Connect Sample

If you want to play around with the PHP library, you can get up and running quickly with the PHP Connect Sample. This sample will start you with a little Laravel project that helps you with registration, authentication, and making a simple call to the service.

Install the SDK

You can install the PHP SDK with Composer, either run composer require microsoft/microsoft-graph, or edit your composer.json file:

{
    "require": {
        "microsoft/microsoft-graph": "^1.36.0"
    }
}

Get started with Microsoft Graph

Register your application

Register your application to use the Microsoft Graph API using Microsoft Azure Active Directory in your tenant's Active Directory to support work or school users for your tenant, or multiple tenants.

Authenticate with the Microsoft Graph service

The Microsoft Graph SDK for PHP does not include any default authentication implementations. The thephpleague/oauth2-client library will handle the OAuth2 flow for you and provide a usable token for querying the Graph.

To authenticate as an application you can use the Guzzle HTTP client, which comes preinstalled with this library, for example like this:

$guzzle = new \GuzzleHttp\Client();
$url = 'https://login.microsoftonline.com/' . $tenantId . '/oauth2/token?api-version=1.0';
$token = json_decode($guzzle->post($url, [
    'form_params' => [
        'client_id' => $clientId,
        'client_secret' => $clientSecret,
        'resource' => 'https://graph.microsoft.com/',
        'grant_type' => 'client_credentials',
    ],
])->getBody()->getContents());
$accessToken = $token->access_token;

For an integrated example on how to use Oauth2 in a Laravel application and use the Graph, see the PHP Connect Sample.

Call Microsoft Graph using the v1.0 endpoint and models

The following is an example that shows how to call Microsoft Graph.

setReturnType(Model\User::class) ->execute(); echo "Hello, I am {$user->getGivenName()}."; } } ">
use Microsoft\Graph\Graph;
use Microsoft\Graph\Model;

class UsageExample
{
    public function run()
    {
        $accessToken = 'xxx';

        $graph = new Graph();
        $graph->setAccessToken($accessToken);

        $user = $graph->createRequest("GET", "/me")
                      ->setReturnType(Model\User::class)
                      ->execute();

        echo "Hello, I am {$user->getGivenName()}.";
    }
}

Call Microsoft Graph using the beta endpoint and models

The following is an example that shows how to call Microsoft Graph.

createRequest("GET", "/me") ->setReturnType(BetaModel\User::class) ->execute(); echo "Hello, I am $user->getGivenName() "; } } ">
use Microsoft\Graph\Graph;
use Beta\Microsoft\Graph\Model as BetaModel;

class UsageExample
{
    public function run()
    {
        $accessToken = 'xxx';

        $graph = new Graph();
        $graph->setAccessToken($accessToken);

        $user = $graph->setApiVersion("beta")
                      ->createRequest("GET", "/me")
                      ->setReturnType(BetaModel\User::class)
                      ->execute();

        echo "Hello, I am $user->getGivenName() ";
    }
}

Develop

Debug

You can use the library with a proxy such as Fiddler or Charles Proxy to debug requests and responses as they come across the wire. Set the proxy port on the Graph object like this:

$graph->setProxyPort("localhost:8888");

Then, open your proxy client to view the requests & responses sent using the library.

Screenshot of Fiddler /me/sendmail request and response

This is especially helpful when the library does not return the results you expected to determine whether there are bugs in the API or this SDK. Therefore, you may be asked to provide this information when attempting to triage an issue you file.

Run Tests

Run

vendor/bin/phpunit --exclude-group functional

from the base directory.

The set of functional tests are meant to be run against a test account. Currently, the tests to do not restore state of the account.

Debug tests on Windows

This SDK has an XDebug run configuration that attaches the debugger to VS Code so that you can debug tests.

  1. Install the PHP Debug extension into Visual Studio Code.
  2. From the root of this repo, using PowerShell, run php .\tests\GetPhpInfo.php | clip from the repo root. This will copy PHP configuration information into the clipboard which we will use in the next step.
  3. Paste your clipboard into the XDebug Installation Wizard and select Analyse my phpinfo() output.
  4. Follow the generated instructions for installing XDebug. Note that the /ext directory is located in your PHP directory.
  5. Add the following info to your php.ini file:
[XDebug]
xdebug.remote_enable = 1
xdebug.remote_autostart = 1

Now you can hit a Visual Studio Code breakpoint in a test. Try this:

  1. Add a breakpoint to testGetCalendarView in .\tests\Functional\EventTest.php.
  2. Run the Listen for XDebug configuration in VS Code.
  3. Run .\vendor\bin\phpunit --filter testGetCalendarView from the PowerShell terminal to run the test and hit the breakpoint.

Documentation and resources

Issues

View or log issues on the Issues tab in the repo.

Contribute

Please read our Contributing guidelines carefully for advice on how to contribute to this repo.

Copyright and license

Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT license.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Comments
  • Problems with first

    Problems with first "Hello World"

    Hi all,

    I would like to use PHP to access various areas of Outlook 365 (including retrieving emails, retrieving/creating calendar entries, etc).

    What i already did:

    I installed this SDK via Composer

    Then I registered my application via Microsoft Azure Active Directory: https://portal.azure.com/#blade/Micr...tionsListBlade

    There I got my tenantId, ClientID, and the clientSecret.

    This is my test-code which does output the accessToken but does not output the user information:

    require_once DIR . '/vendor/autoload.php';
    
    // Include the Microsoft Graph classes
    use Microsoft\Graph\Graph;
    use Microsoft\Graph\Model;
    
    // Data from Azure Active Director
    $tenantId="xxx";
    $clientId="yyy";
    $clientSecret="zzz";
    
    $guzzle = new \GuzzleHttp\Client();
    $url = 'https://login.microsoftonline.com/' . $tenantId . '/oauth2/token?api-version=1.0';
    $token = json_decode($guzzle->post($url, [
    'form_params' => [
    'client_id' => $clientId,
    'client_secret' => $clientSecret,
    'resource' => 'https://graph.microsoft.com/',
    'grant_type' => 'client_credentials',
    ],
    ])->getBody()->getContents());
    
    $accessToken = $token->access_token;
    
    // This works! The Access-Token is echoed
    echo "AccessToken:".$accessToken;
    
    // But from here on, i get no output
    $graph = new Graph();
    $graph->setAccessToken($accessToken);
    
    $user = $graph->createRequest("GET", "/me")
    ->setReturnType(Model\User::class)
    ->execute();
    
    print_r($user);
    
    echo "Hello, my name is {$user->getGivenName()}."; 
    

    Can you help me to get the code above working?

    Furthermore i wonder, if this is the correct way to connect or if i should use api-version 2.0? $url = 'https://login.microsoftonline.com/' . $tenantId . '/oauth2/token?api-version=1.0'; If i use this URL, i get no accessToken

    $url = 'https://login.microsoftonline.com/' . $tenantId . '/oauth2/v2.0/token?api-version=2.0';

    Thank you for your support.

    Best wishes Daniel

    question 
    opened by basementmedia2 18
  • PSR-4 Warning during composer installation

    PSR-4 Warning during composer installation

    Hello! I'm tryng to install this sdk with composer on my brand new Laravel 9 installation. But during installation i'm otain these bad warnings:

    Class Beta\Microsoft\Graph\Security\Model\Alert located in ###/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph\SecurityNamespace\Model\Alert.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                                              
    Class Beta\Microsoft\Graph\Security\Model\AlertClassification located in ###/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph\SecurityNamespace\Model\AlertClassification.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                  
    Class Beta\Microsoft\Graph\Security\Model\AlertComment located in ###/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph\SecurityNamespace\Model\AlertComment.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                                
    Class Beta\Microsoft\Graph\Security\Model\AlertDetermination located in ###/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph\SecurityNamespace\Model\AlertDetermination.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                    
    Class Beta\Microsoft\Graph\Security\Model\AlertSeverity located in ###/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph\SecurityNamespace\Model\AlertSeverity.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                              
    Class Beta\Microsoft\Graph\Security\Model\AlertStatus located in ###/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph\SecurityNamespace\Model\AlertStatus.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                                  
    Class Beta\Microsoft\Graph\Security\Model\DetectionSource located in ###/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph\SecurityNamespace\Model\DetectionSource.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                          
    Class Beta\Microsoft\Graph\Security\Model\HuntingQueryResults located in ###/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph\SecurityNamespace\Model\HuntingQueryResults.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                  
    Class Beta\Microsoft\Graph\Security\Model\HuntingRowResult located in ###/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph\SecurityNamespace\Model\HuntingRowResult.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                        
    Class Beta\Microsoft\Graph\Security\Model\Incident located in ###/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph\SecurityNamespace\Model\Incident.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                                        
    Class Beta\Microsoft\Graph\Security\Model\IncidentStatus located in ###/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph\SecurityNamespace\Model\IncidentStatus.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                            
    Class Beta\Microsoft\Graph\Security\Model\ServiceSource located in ###/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph\SecurityNamespace\Model\ServiceSource.php does not comply with psr-4 autoloading standard. Skipping.                                                                                                                              
    Class Beta\Microsoft\Graph\Security\Model\SinglePropertySchema located in ###/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph\SecurityNamespace\Model\SinglePropertySchema.php does not comply with psr-4 autoloading standard. Skipping. 
    
    bug 
    opened by fazzinipierluigi 10
  • How to get the Email-Content (for file_put_contents) and the Email-direction

    How to get the Email-Content (for file_put_contents) and the Email-direction

    Hi again,

    sorry for this second post at same day:

    If i execute the following request

    $email = $graph->createRequest("GET", "[email protected]/mailfolders/inbox/messages/myemail_id)
    ->setReturnType(Model\Message::class)
    ->execute();
    

    I get a response-JSON Object. But this contains no information about email-direction (incoming/outgoing). With PHP-EWS response object had the member "X-MS-Exchange-Organization-MessageDirectionality" which contained e.g. "incoming". How to get this information with microsoft graph?

    And another question is related to the Email-Attachments (i hope it is ok to put two questions in one post):

    if ($email->getHasAttachments() > 0) {
        echo "We've got attachments!";
        $fileAttachment_arr = $graph->createRequest("GET", "[email protected]/mailfolders/inbox/messages/myemail_id/attachments/")
        ->setReturnType(Model\Attachment::class)
        ->execute();
    
        foreach ($fileAttachment_arr as $att_item) {
            $att_name = $att_item->getName(); // works
            $contentType = $att_item->getContentType(); // works
            $contentID = $att_item->getId(); // works
            $isInline = $att_item->getIsInline(); // works
            $att_contentBytes = $att_item->getContentBytes(); // Does NOT work
            $att_content = $att_item->getContent(); // Does NOT work
        }
    }
    

    With PHP-EWS i could do this, to generate a file:

    $att_content = $att_item->getContent();
    file_put_contents($somepath, $att_content);
    

    But how can i do this with microsoft graph API.

    Thank you for yout support.

    Best regards Daniel

    opened by basementmedia2 9
  • How to convert HexEntryId (coming from Outlook) to EntryId

    How to convert HexEntryId (coming from Outlook) to EntryId

    Hi,

    In Outlook i have created a button which onclick calls an url and provides the Email of the currently selected Email as parameter

    the Visual Basic script looks like this

    Option Explicit
    Public Sub GetCurrentEmailInfo()
        Dim currentExplorer As Explorer
        Dim Selection As Selection
        Dim currentItem As Object
        Dim currentMail As MailItem
        Dim email_id As String
       
        Set currentExplorer = Application.ActiveExplorer
        Set Selection = currentExplorer.Selection
        
        email_id = Selection.Item(1).EntryID
    
        CreateObject("Wscript.Shell").Run "myurl/myphpfile.php?email_id=" & email_id
    End Sub
    
    

    The PHP i use to get the Email-Content

    $email = $graph->createRequest("GET", "[email protected]/mailfolders/inbox/messages/AAMkAGE4NmI2MmZkLWJjNzktNDBmMS1hZGY4LWIxMzBjNmY4MWI3OQBGAAAAAAAlT71tgzMxT4lEEyvGxik9BwDrnNWima7tSIuOg9AgCoUfAAAAAAEMAADrnNWima7tSIuOg9AgCoUfAACloyrPAAA=")
    ->setReturnType(Model\Message::class)
    ->execute();
    
    print_r($email);
    

    This Request works and expects the Email-ID entryId format, wjhich looks like this

    AAMkAGE4NmI2MmZkLWJjNzktNDBmMS1hZGY4LWIxMzBjNmY4MWI3OQBGAAAAAAAlT71tgzMxT4lEEyvGxik9BwDrnNWima7tSIuOg9AgCoUfAAAAAAEMAADrnNWima7tSIuOg9AgCoUfAACloyrPAAA=
    

    But the EntryID coming from Outlook looks like this (Hex Format)

    00000000254FBD6D8333314F8944132BC6C6293D0700EB9CD5A299AEED488B8E83D0200A851F00000000010C0000EB9CD5A299AEED488B8E83D0200A851F0000A5A32ACF0000
    

    Question is: How can i convert this Hex-ID to the required entryId?

    I've found this function in the API

    https://docs.microsoft.com/de-de/graph/api/user-translateexchangeids?view=graph-rest-1.0&tabs=http

    But this function does not accept the Hex-Id as sourceId-Type

    Do you have an idea, how i get this thing working?

    Best wishes

    Daniel

    opened by basementmedia2 9
  • Is it possible to connect to Projects Web App (PWA) using graph?

    Is it possible to connect to Projects Web App (PWA) using graph?

    Hello guys,

    Sorry for posting here, but I've been trying to find a solution for my problem for almost a month now and still can't prevail.

    I'm trying to allow my users to sync their https://example.sharepoint.com/sites/pwa from my website and fetch a list of their projects. I still can't find a documentation or a starting point to do so.

    I'm stuck on how to let the users authenticate, so I can obtain their bearer token and then use that token to authenticate on the api.

    I was able to find API endpoints from: http://sharepointstore.com/2016/10/21/project-online-rest-api-list/

    I'm using Laravel as BackEnd and VueJS as front on my website.

    I would like to allow any user to connect and sync his projects.

    Thank you for your kind support. AB#9347

    question 
    opened by marcmaalouly 9
  • Prefer caret constraints over wildcards

    Prefer caret constraints over wildcards

    Specifically in this case this library was stopping Guzzle 6.3 from being installed while Semver guarantees its compatibility. You should always use caret constraints unless there is a very good reason not to.

    The other changes are simply layout.

    cla-not-required cla-signed 
    opened by curry684 9
  • Support multiple HTTP clients

    Support multiple HTTP clients

    Come to a conclusion on how to support multiple HTTP clients

    Some references:

    • https://www.php-fig.org/psr/psr-18/
    • https://docs.php-http.org/en/latest/index.html

    This blocks GraphClientFactory work. AB#9888

    under investigation promote P1 
    opened by Ndiritu 8
  • Add member to team returns unknown error

    Add member to team returns unknown error

    Hi, I am trying to call 'Add member to team': https://docs.microsoft.com/en-us/graph/api/team-post-members?view=graph-rest-1.0&tabs=http

    I have the correct application permissions set up (TeamMember.ReadWrite.All).

    When I post with the following code:

    // add $member to team - POST /teams/{teamsId}/members
    $data = [
    	'@odata.type' => "#microsoft.graph.aadUserConversationMember",
    	'[email protected]' => "https://graph.microsoft.com/v1.0/users('$memberID')",
    ];
    
    $graphresponse = $graph
    	->setApiVersion("v1.0")
    	->createRequest("POST", "/teams/" . $teamID . "/members")
    	->attachBody($data)
    	->execute();
    

    I get a GuzzleException error:

    stdClass Object
    (
        [error] => stdClass Object
            (
                [code] => Forbidden
                [message] => An unknown error has occurred.
                [innerError] => stdClass Object
                    (
                        [date] => 2020-12-10T06:24:30
                        [request-id] => 8bf573c4-d834-45e2-8543-fe1ba608a4ee
                        [client-request-id] => 8bf573c4-d834-45e2-8543-fe1ba608a4ee
                    )
            )
    )
    

    I can do the same using MS Graph Explorer with no errors. I can also list members from my PHP script and from MS Graph Explorer, so I don't believe it is a permissions issue.

    Can anyone help please?

    ToTriage 
    opened by Matt-B50 8
  • Filter on onPremisesExtensionAttributes

    Filter on onPremisesExtensionAttributes

    Is filtering on the onPremisesExtensionAttributes object not supported? We store an id into extensionAttribute15 and it'd be so much better if we could directly filter on that field. Now we have to loop through thousands of users and check each extensionAttribute15 if it's x.

    It takes an unacceptable period of time to do that ..

    https://graph.microsoft.com/v1.0/users?$filter=onPremisesExtensionAttributes/extensionAttribute15 eq '118833'

    {
        "error": {
            "code": "Request_UnsupportedQuery",
            "message": "Property 'extensionAttribute15' does not exist as a declared property or extension property.",
            "innerError": {
                "date": "2020-09-10T09:11:05",
                "request-id": "2d0a5c8a-a389-4149-b1ce-c3db78fbdfda"
            }
        }
    }
    
    opened by MichaelBelgium 8
  • Dont truncate messages

    Dont truncate messages

    Is there a way to allow errors to show fully. Whenever there is an exception, I get something like:

    Client error: `POST https://graph.microsoft.com/v1.0/me/calendars/AAMkADQ0MTkyMDM1LTRhYWQtNGU5NC1iMTNiLWQwMGVkOTc3Njg0YgBGAAAAAADqewFH7jyUQLayRkU-YSm8BwCiRV4wB9ZcTLOUnr6Oobk4AAAAAAEGAACiRV4wB9ZcTLOUnr6Oobk4AABoPrhBAAA=/events` resulted in a `400 Bad Request` response:
    {
    "error": {
    "code": "ErrorPropertyValidationFailure",
    "message": "At least one property failed validation. (truncated...)
    Exception
    

    Which is very annoying since I don't know exactly what is wrong. AB#7354

    promote 
    opened by Herz3h 8
  • Support for AD Graph API (graph.windows.net)

    Support for AD Graph API (graph.windows.net)

    Hi there,

    we want to use this package for the AD Graph API => graph.windows.net (not the normal Graph API => graph.microsoft.com).

    The main problem I currently see, is how the version is passed in the URL (URL-Path vs GET-Param).

    Is there another PHP Package which supports the AD Graph API? Do you plan to support the AD Graph API in future?

    Best regards

    Alex AB#7574

    request: feature promote 
    opened by aeimer 8
  • Generated models and request builders using Kiota

    Generated models and request builders using Kiota

    This pull request was automatically created by the GitHub Action, create Kiota Preview pull request.

    The commit hash is 3e8a005dde2328165034cab136c7b8271d63b3d7.

    Important Check for unexpected deletions or changes in this PR. See v1.0 openapi.yml for metadata changes.

    Make sure the version number is incremented in /src/GraphConstants.php. Compare the version against the latest Release Candidate on packagist.org and update the version in src/GraphConstants.

    Microsoft Reviewers: Open in CodeFlow
    generated 
    opened by github-actions[bot] 0
  • Send attachment bigger then 4MB - 413 Request Entity Too Large

    Send attachment bigger then 4MB - 413 Request Entity Too Large

    Microsoft specifies a maximum size of 4MB for the request: https://learn.microsoft.com/de-de/graph/api/user-post-messages?view=graph-rest-1.0&tabs=http

    Is there any way to still send an email with multiple file attachments over 4 MB?

    question 
    opened by KodaCHC 3
  • Make exception handling experience intuitive

    Make exception handling experience intuitive

    I'm encoutering an issue with using ApiException to get exceptions in v2.0.0 RC9. The message variable is always blank with exceptions for most commands regarding working with sites, drives, and files. The exception is in there, just buried inside of a private 'error' variable.

    Example of getting a site that doesn't exist:

    <?php
    
    error_reporting(E_ALL);
    ini_set('display_errors', '1');
    
    require_once __DIR__ . '/vendor/autoload.php';
    
    use Microsoft\Graph\Generated\Models;
    use Microsoft\Graph\GraphRequestAdapter;
    use Microsoft\Graph\GraphServiceClient;
    use Microsoft\Kiota\Authentication\Oauth\ClientCredentialContext;
    use Microsoft\Kiota\Authentication\PhpLeagueAuthenticationProvider;
    
    try {
        $tokenRequestContext = new ClientCredentialContext(
            $tenantId,
            $clientId,
            $clientSecret
        );
        $scopes = ['https://graph.microsoft.com/.default'];
        $authProvider = new PhpLeagueAuthenticationProvider($tokenRequestContext, $scopes);
        $requestAdapter = new GraphRequestAdapter($authProvider);
        $graphServiceClient = new GraphServiceClient($requestAdapter);
    
        /** @var Models\Site $site  */
        $site = $graphServiceClient->sitesById($siteId)->get()->wait();
    } catch (ApiException $ex) {
        echo $ex->getMessage();
    }
    
    ?>
    

    This returns the a blank $ex->message, and the following var_dump($ex):

    object(Microsoft\Graph\Generated\Models\ODataErrors\ODataError)#59 (9) {
      ["message":protected]=>
      string(0) ""
      ["string":"Exception":private]=>
      string(0) ""
      ["code":protected]=>
      int(0)
      ["file":protected]=>
      string(131) "/home/username/test/vendor/microsoft/microsoft-graph/src/Generated/Models/ODataErrors/ODataError.php"
      ["line":protected]=>
      int(37)
      ["trace":"Exception":private]=>
      array(7) {
        [0]=>
        array(5) {
          ["file"]=>
          string(114) "/home/username/test/vendor/microsoft/kiota-serialization-json/src/JsonParseNode.php"
          ["line"]=>
          int(107)
          ["function"]=>
          string(28) "createFromDiscriminatorValue"
          ["class"]=>
          string(55) "Microsoft\Graph\Generated\Models\ODataErrors\ODataError"
          ["type"]=>
          string(2) "::"
        }
        [1]=>
        array(5) {
          ["file"]=>
          string(114) "/home/username/test/vendor/microsoft/kiota-http-guzzle/src/GuzzleRequestAdapter.php"
          ["line"]=>
          int(308)
          ["function"]=>
          string(14) "getObjectValue"
          ["class"]=>
          string(48) "Microsoft\Kiota\Serialization\Json\JsonParseNode"
          ["type"]=>
          string(2) "->"
        }
        [2]=>
        array(5) {
          ["file"]=>
          string(114) "/home/username/test/vendor/microsoft/kiota-http-guzzle/src/GuzzleRequestAdapter.php"
          ["line"]=>
          int(88)
          ["function"]=>
          string(19) "throwFailedResponse"
          ["class"]=>
          string(41) "Microsoft\Kiota\Http\GuzzleRequestAdapter"
          ["type"]=>
          string(2) "->"
        }
        [3]=>
        array(5) {
          ["file"]=>
          string(99) "/home/username/test/vendor/php-http/promise/src/FulfilledPromise.php"
          ["line"]=>
          int(35)
          ["function"]=>
          string(30) "Microsoft\Kiota\Http\{closure}"
          ["class"]=>
          string(41) "Microsoft\Kiota\Http\GuzzleRequestAdapter"
          ["type"]=>
          string(2) "->"
        }
        [4]=>
        array(5) {
          ["file"]=>
          string(114) "/home/username/test/vendor/microsoft/kiota-http-guzzle/src/GuzzleRequestAdapter.php"
          ["line"]=>
          int(98)
          ["function"]=>
          string(4) "then"
          ["class"]=>
          string(29) "Http\Promise\FulfilledPromise"
          ["type"]=>
          string(2) "->"
        }
        [5]=>
        array(5) {
          ["file"]=>
          string(135) "/home/username/test/vendor/microsoft/microsoft-graph/src/Generated/Sites/Item/SiteItemRequestBuilder.php"
          ["line"]=>
          int(277)
          ["function"]=>
          string(9) "sendAsync"
          ["class"]=>
          string(41) "Microsoft\Kiota\Http\GuzzleRequestAdapter"
          ["type"]=>
          string(2) "->"
        }
        [6]=>
        array(5) {
          ["file"]=>
          string(64) "/home/username/test/graph-bug.php"
          ["line"]=>
          int(32)
          ["function"]=>
          string(3) "get"
          ["class"]=>
          string(59) "Microsoft\Graph\Generated\Sites\Item\SiteItemRequestBuilder"
          ["type"]=>
          string(2) "->"
        }
      }
      ["previous":"Exception":private]=>
      NULL
      ["additionalData":"Microsoft\Graph\Generated\Models\ODataErrors\ODataError":private]=>
      array(0) {
      }
      ["error":"Microsoft\Graph\Generated\Models\ODataErrors\ODataError":private]=>
      object(Microsoft\Graph\Generated\Models\ODataErrors\MainError)#80 (6) {
        ["additionalData":"Microsoft\Graph\Generated\Models\ODataErrors\MainError":private]=>
        array(1) {
          ["innerError"]=>
          array(3) {
            ["date"]=>
            string(19) "2022-10-17T16:23:06"
            ["request-id"]=>
            string(36) "80ddeda1-e38d-41fc-a42d-6e943d3b16cd"
            ["client-request-id"]=>
            string(36) "7ee8f8ec-2bd6-4609-aa90-3a2356efa61f"
          }
        }
        ["code":"Microsoft\Graph\Generated\Models\ODataErrors\MainError":private]=>
        string(12) "itemNotFound"
        ["details":"Microsoft\Graph\Generated\Models\ODataErrors\MainError":private]=>
        NULL
        ["innererror":"Microsoft\Graph\Generated\Models\ODataErrors\MainError":private]=>
        NULL
        ["message":"Microsoft\Graph\Generated\Models\ODataErrors\MainError":private]=>
        string(33) "Requested site could not be found"
        ["target":"Microsoft\Graph\Generated\Models\ODataErrors\MainError":private]=>
        NULL
      }
    }
    
    question v2: feedback 
    opened by EmilySamantha80 1
  • Not Getting the

    Not Getting the "conferenceId" back from the API

    I am using PHP Graph.

    Following the guidelines at the example 2 of: https://learn.microsoft.com/en-us/graph/api/calendar-post-events?view=graph-rest-1.0&tabs=http.

    Query:

    array:8 [
      "Subject" => "subject"
      "Body" => array:2 [
        "ContentType" => "text"
        "Content" => "a body"
      ]
      "Start" => array:2 [
        "DateTime" => "2022-10-06T13:25:59"
        "TimeZone" => "Europe/Berlin"
      ]
      "End" => array:2 [
        "DateTime" => "2022-10-06T13:55:59"
        "TimeZone" => "Europe/Berlin"
      ]
      "organizer" => array:1 [
        "emailAddress" => array:2 [
          "name" => "a name"
          "address" => "[email protected]"
        ]
      ]
      "isOnlineMeeting" => true
      "onlineMeetingProvider" => "teamsForBusiness"
      "attendees" => array:1 [
        0 => array:1 [
          "emailAddress" => array:2 [
            "name" => "a name"
            "address" => "[email protected]"
          ]
        ]
      ]
    ]
    

    It works, but I do not receive the conferenceId. "onlineMeeting": { "joinUrl": "https...", }

    ToTriage need more information 
    opened by OrlandoLuque 4
Releases(2.0.0-RC12)
  • 2.0.0-RC12(Nov 23, 2022)

    What's Changed

    • Bump graph core version by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1058
    • Generated models and request builders using Kiota by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1068
    • Generated models and request builders using Kiota by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1074

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/2.0.0-RC11...2.0.0-RC12

    Source code(tar.gz)
    Source code(zip)
  • 1.84.0(Nov 23, 2022)

    What's Changed

    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1067
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1066
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1071
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1070
    • Re-enable static analysis by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1073
    • Merge main to dev by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1076
    • Release 1.84.0 by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1075

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.83.0...1.84.0

    Source code(tar.gz)
    Source code(zip)
  • 1.83.0(Nov 22, 2022)

    What's Changed

    • Merge main to dev by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1045
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1060
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1059
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1063
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1064
    • Release 1.83.0 by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1065

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.82.0...1.83.0

    Source code(tar.gz)
    Source code(zip)
  • 1.82.0(Nov 4, 2022)

    What's Changed

    • Model updates
    • Fixes bug preventing serialization of Stream properties in the request payload #1052

    Changelog

    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1050
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1049
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1055
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1056
    • Release 1.82.0 by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1053

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.81.0...1.82.0

    Source code(tar.gz)
    Source code(zip)
  • 2.0.0-RC11(Nov 1, 2022)

    What's Changed

    • Generated models and request builders using Kiota by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1051

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/2.0.0-RC10...2.0.0-RC11

    Source code(tar.gz)
    Source code(zip)
  • 2.0.0-RC10(Oct 26, 2022)

    What's Changed

    • Generated models and request builders using Kiota by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1020
    • Generated models and request builders using Kiota by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1031
    • Generated models and request builders using Kiota by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1037
    • Generated models and request builders using Kiota by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1042
    • Generated models and request builders using Kiota by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1046

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/2.0.0-RC9...2.0.0-RC10

    Source code(tar.gz)
    Source code(zip)
  • 1.81.0(Oct 25, 2022)

    What's Changed

    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1041
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1043
    • Release 1.81.0 by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1044

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.80.0...1.81.0

    Source code(tar.gz)
    Source code(zip)
  • 1.79.0(Oct 14, 2022)

    What's Changed

    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1032
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1030

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.78.0...1.79.0

    Source code(tar.gz)
    Source code(zip)
  • 1.78.0(Oct 6, 2022)

    What's Changed

    • Fixes PHPDoc for model getters/setters that return/accept arrays in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1022 & https://github.com/microsoftgraph/msgraph-sdk-php/pull/1023
    • Merge pull request #1009 from microsoftgraph/dev by @SilasKenneth in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1013

    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1021

    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1019

    • Release 1.78.0 by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1025

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.77.0...1.78.0

    Source code(tar.gz)
    Source code(zip)
  • 2.0.0-RC9(Sep 28, 2022)

    What's Changed

    Bug Fixes

    • PATCH requests now return the deserialized response body.

    Updates

    • Generated models and request builders using Kiota by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1012

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/2.0.0-RC8...2.0.0-RC9

    Source code(tar.gz)
    Source code(zip)
  • 1.77.0(Sep 28, 2022)

    What's Changed

    • Merge pull request #1004 from microsoftgraph/dev by @SilasKenneth in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1005
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1008
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1007

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.76.0...1.77.0

    Source code(tar.gz)
    Source code(zip)
  • 1.76.0(Sep 21, 2022)

    What's Changed

    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/999
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1000
    • Generated docs using PHPDocumentor by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1003
    • Update SDK version in docs by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/998

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.75.0...1.76.0

    Source code(tar.gz)
    Source code(zip)
  • 2.0.0-RC8(Sep 20, 2022)

    What's Changed

    • Generated models and request builders using Kiota by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/1001

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/2.0.0-RC7...2.0.0-RC8

    Source code(tar.gz)
    Source code(zip)
  • 2.0.0-RC7(Sep 18, 2022)

    What's Changed

    • Generated models and request builders using Kiota by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/995

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/2.0.0-RC6...2.0.0-RC7

    Source code(tar.gz)
    Source code(zip)
  • 1.75.0(Sep 15, 2022)

    What's Changed

    • Update weekly generation PR workflow by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/971
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/982
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/981
    • Generated docs using PHPDocumentor by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/983
    • Adding Microsoft SECURITY.MD by @microsoft-github-policy-service in https://github.com/microsoftgraph/msgraph-sdk-php/pull/985
    • Fixes Microsoft.Graph.IdentityGovernance issue by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/984
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/989
    • Merge main to dev by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/993
    • Update Beta models by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/991
    • Release 1.75.0 by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/996

    New Contributors

    • @microsoft-github-policy-service made their first contribution in https://github.com/microsoftgraph/msgraph-sdk-php/pull/985

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.74.0...1.75.0

    Source code(tar.gz)
    Source code(zip)
  • 2.0.0-RC6(Sep 1, 2022)

    What's Changed

    Breaking Changes

    • For $ref requests that accept a request body, the Ref model is deprecated in favor of ReferenceCreate
    • Renamed the following setters/getters in the models and collection response objects:
      • setodatatype & getodatatype to setOdataType & getOdataType respectively
      • setOdatanextLink&getOdatanextLinktosetOdataNextLink&getOdataNextLink` respectively

    Other Changes

    • Introduces new request builder path objects and models

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/2.0.0-RC5...2.0.0-RC6

    Source code(tar.gz)
    Source code(zip)
  • 1.74.0(Sep 1, 2022)

    What's Changed

    • Merge pull request #953 from microsoftgraph/dev by @SilasKenneth in https://github.com/microsoftgraph/msgraph-sdk-php/pull/954
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/956
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/959
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/963
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/966
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/969
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/968
    • Change timeout type by @jmsche in https://github.com/microsoftgraph/msgraph-sdk-php/pull/972
    • Generated docs using PHPDocumentor by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/973
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/975
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/974
    • Release 1.74.0 by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/976

    New Contributors

    • @jmsche made their first contribution in https://github.com/microsoftgraph/msgraph-sdk-php/pull/972

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.73.0...1.74.0

    Source code(tar.gz)
    Source code(zip)
  • 2.0.0-RC5(Jul 6, 2022)

    This release contains model bug fixes and the following improvements:

    • Authentication Provider that handles token fetching and refresh behind the scenes for you:
    
    use Microsoft\Kiota\Authentication\Oauth\AuthorizationCodeContext;
    use Microsoft\Kiota\Authentication\PhpLeagueAuthenticationProvider;
    
    $tokenRequestContext = new AuthorizationCodeContext(
        'tenantId',
        'clientId',
        'clientSecret',
        'authCode',
        'redirectUri'
    );
    $scopes = ['User.Read', 'Mail.Read'];
    $authProvider = new PhpLeagueAuthenticationProvider($tokenRequestContext, $scopes);
    
    • A fluent API design:
    $messages = $graphServiceClient->usersById(USER_ID)->messages()->get()->wait();
    

    More details in the Upgrade Guide and README

    Source code(tar.gz)
    Source code(zip)
  • 1.70.0(Jun 21, 2022)

    What's Changed

    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/920
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/921

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.69.0...1.70.0

    Source code(tar.gz)
    Source code(zip)
  • 1.69.0(Jun 15, 2022)

    What's Changed

    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/914
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/915

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.68.0...1.69.0

    Source code(tar.gz)
    Source code(zip)
  • 1.68.0(Jun 8, 2022)

    What's Changed

    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/907
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/906
    • Release 1.68.0 by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/908

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.67.0...1.68.0

    Source code(tar.gz)
    Source code(zip)
  • 1.67.0(Jun 2, 2022)

    What's Changed

    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/901
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/902
    • Release 1.67.0 by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/903

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.66.0...1.67.0

    Source code(tar.gz)
    Source code(zip)
  • 1.66.0(May 25, 2022)

    What's Changed

    • Merge pull request #894 from microsoftgraph/dev by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/895
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/898
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/899
    • Release 1.66.0 by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/900

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.65.0...1.66.0

    Source code(tar.gz)
    Source code(zip)
  • 1.65.0(May 18, 2022)

    What's Changed

    • Merge pull request #885 from microsoftgraph/dev by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/886
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/893
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/892
    • Release 1.65.0 by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/894

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.64.0...1.65.0

    Source code(tar.gz)
    Source code(zip)
  • 1.64.0(May 12, 2022)

    What's Changed

    • Fix PSR-4 warning thrown during composer install due to wrong Security models namespaces
    • Merge pull request #877 from microsoftgraph/dev by @SilasKenneth in https://github.com/microsoftgraph/msgraph-sdk-php/pull/878
    • Temporarily disable static analysis checks by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/879
    • Remove noisy PHPDocumentor PR's when merging weekly generation updates by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/880
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/881
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/883
    • Release 1.64.0 by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/885

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.63.0...1.64.0

    Source code(tar.gz)
    Source code(zip)
  • 1.62.0(Apr 28, 2022)

    What's Changed

    • Merge pull request #866 from microsoftgraph/dev by @SilasKenneth in https://github.com/microsoftgraph/msgraph-sdk-php/pull/868
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/870
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/869
    • Generated docs using PHPDocumentor by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/871
    • Release 1.62.0 by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/872

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.61.0...1.62.0

    Source code(tar.gz)
    Source code(zip)
  • 1.61.0(Apr 20, 2022)

  • 1.60.0(Apr 11, 2022)

    What's Changed

    • Change GraphResponse raw body PHPDoc type to StreamInterface by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/844
    • Updated v1 Graph API models in https://github.com/microsoftgraph/msgraph-sdk-php/pull/849
    • Updated beta Graph API models in https://github.com/microsoftgraph/msgraph-sdk-php/pull/850

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.59.0...1.60.0

    Source code(tar.gz)
    Source code(zip)
  • 1.59.0(Mar 29, 2022)

    What's Changed

    • Updated beta and Graph v1 API models

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.58.0...1.59.0

    Source code(tar.gz)
    Source code(zip)
  • 1.58.0(Mar 25, 2022)

    What's Changed

    • Merge pull request #830 from microsoftgraph/dev by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/831
    • Generated beta models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/833
    • Generated models using Typewriter by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/834
    • Generated docs using PHPDocumentor by @github-actions in https://github.com/microsoftgraph/msgraph-sdk-php/pull/836
    • Release 1.58.0 by @Ndiritu in https://github.com/microsoftgraph/msgraph-sdk-php/pull/837

    Full Changelog: https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.57.1...1.58.0

    Source code(tar.gz)
    Source code(zip)
Owner
Microsoft Graph
Unified endpoint for accessing data, relationships and insights coming from the Microsoft cloud
Microsoft Graph
get nearby location by coordinate from eloquent laravel

LARAVEL-COORDINATE get nearby location data from database with eloquent laravel Installation composer require bagusindrayana/laravel-coordinate In M

Bagus Indrayana 26 Sep 9, 2022
PHP Exif Library - library for reading and writing Exif headers in JPEG and TIFF files using PHP.

PEL: PHP Exif Library README file for PEL: PHP Exif Library. A library with support for reading and writing Exif headers in JPEG and TIFF images using

null 264 Dec 4, 2022
PHP Image Manipulation

Intervention Image Intervention Image is a PHP image handling and manipulation library providing an easier and expressive way to create, edit, and com

null 13k Jan 3, 2023
PHP 5.3 Object Oriented image manipulation library

Imagine Tweet about it using the #php_imagine hashtag. Image manipulation library for PHP 5.3 inspired by Python's PIL and other image libraries. Requ

Bulat Shakirzyanov 4.3k Jan 6, 2023
🌄 Perceptual image hashing for PHP

ImageHash A perceptual hash is a fingerprint of a multimedia file derived from various features from its content. Unlike cryptographic hash functions

Jens Segers 1.9k Dec 28, 2022
GifCreator is a PHP class that creates animated GIF from multiple images

================================ GifCreator ================================ GifCreator is a PHP class to create animated GIF from multiple images For

Clément Guillemain 320 Dec 15, 2022
GifFrameExtractor is a PHP class that separates all the frames (and their duration) of an animated GIF

================================ GifFrameExtractor ================================ GifFrameExtractor is a PHP class that separates all the frames (an

Clément Guillemain 173 Dec 12, 2022
Image Cache is a very simple PHP class that accepts an image source and will compress and cache the file, move it to a new directory, and returns the new source for the image.

NO LONGER MAINTAINED!!! Image Cache v. 1.0.0 Image Cache is a very simple PHP class that accepts an image source and will compress and cache the file,

Erik Nielsen 455 Dec 30, 2022
PHP Captcha library

Captcha Installation With composer : { ... "require": { "gregwar/captcha": "1.*" } } Usage You can create a captcha with the Captc

Grégoire Passault 1.6k Dec 25, 2022
A BPMN 2.0 workflow engine for PHP

Workflower A BPMN 2.0 workflow engine for PHP Workflower is a BPMN 2.0 workflow engine for PHP. Workflower runs business processes using the BPMN 2.0

PHP Mentors 640 Jan 7, 2023
A Sharex IMG uploader that runs with PHP | Use a hosting site if you're a beginner use 000webhost

Sharex-Img-Uploader A Sharex IMG uploader that runs with PHP | Use a hosting site if you're a beginner use 000webhost Setting up SXCU In YOUR_DOMAIN_U

Pix 10 Nov 26, 2022
A PHP GD + TwitterOAuth demo to dynamically generate Twitter header images and upload them via the API.

A PHP GD + TwitterOAuth demo to dynamically generate Twitter header images and upload them via the API. This enables you to build cool little tricks, like showing your latest followers or sponsors, latest content creted, a qrcode to something, a progress bar for some goal, and whathever you can think of.

Erika Heidi 172 Jan 5, 2023
php-gd based image templates

gdaisy A highly experimental image templating system based on PHP-GD to dynamically generate image banners and covers. Installation 1. Require erikahe

Erika Heidi 67 Nov 22, 2022
Instagram with ImageMagick & PHP

Instagraph - Instagram with ImageMagick & PHP In this repository, I’ll demonstrate you how to create vintage (just like Instagram does) photos effects

Dejan Marjanovic 326 Nov 3, 2022
Grabs the dominant color or a representative color palette from an image. Uses PHP and GD, Imagick or Gmagick.

Color Thief PHP A PHP class for grabbing the color palette from an image. Uses PHP and GD or Imagick libraries to make it happen. It's a PHP port of t

Kevin Subileau 610 Dec 28, 2022
An easy-to-use PHP QrCode generator with first-party support for Laravel.

An easy-to-use PHP QrCode generator with first-party support for Laravel.

Simple Software LLC 2.2k Jan 5, 2023
This is a class of php QR Code, This library helps you generate QR codes in a jiffy.

This is a class of php QR Code, This library helps you generate QR codes in a jiffy.

null 59 Oct 5, 2022
phpThumb() - The PHP thumbnail generator

phpThumb phpThumb() - The PHP thumbnail generator phpThumb() uses the GD library and/or ImageMagick to create thumbnails from images (GIF, PNG or JPEG

James Heinrich 292 Dec 17, 2022