{"id":14628,"date":"2023-07-25T08:37:24","date_gmt":"2023-07-25T15:37:24","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/?p=14628"},"modified":"2023-07-27T08:13:32","modified_gmt":"2023-07-27T15:13:32","slug":"announcing-microsoft-graph-php-2-0-0-rc19","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/announcing-microsoft-graph-php-2-0-0-rc19\/","title":{"rendered":"Announcing Microsoft Graph PHP 2.0.0-RC19"},"content":{"rendered":"<p>In July 2022, we <a href=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/microsoft-graph-php-sdk-2-0-0-rc5-is-now-available\/\">announced<\/a> the public preview of the first Kiota generated SDK for PHP. Today we are announcing the new RC19 version. Since the RC5 announcement, we have improved many of the common scenarios to give you time back to focus on quality and design. The following are some of the improvements you can expect in this new release candidate.<\/p>\n<h2>Initialization and auth<\/h2>\n<p>We simplified the authentication setup, abstracting some of the initialization code, so you can start working with calls in less lines.<\/p>\n<p><script src=\"https:\/\/gist.github.com\/isvargasmsft\/95725ab95025e1ac14ee9edfe2b6518a.js\"><\/script><\/p>\n<h2>Fluent experience to build requests<\/h2>\n<p>Following the community\u2019s advice to improve fluent experience, we designed a new pattern to build requests, making the process more intuitive and improving discoverability.<\/p>\n<p><img decoding=\"async\" width=\"856\" height=\"150\" class=\"wp-image-14632\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2023\/07\/screenshot-showing-an-example-of-the-fluent-experi-1.png\" alt=\"Screenshot showing an example of the fluent experience. When you type, the IDE suggest the next command to add.\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2023\/07\/screenshot-showing-an-example-of-the-fluent-experi-1.png 856w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2023\/07\/screenshot-showing-an-example-of-the-fluent-experi-1-300x53.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2023\/07\/screenshot-showing-an-example-of-the-fluent-experi-1-768x135.png 768w\" sizes=\"(max-width: 856px) 100vw, 856px\" \/><\/p>\n<p><script src=\"https:\/\/gist.github.com\/isvargasmsft\/cdcbd08b385604fe587205d8fecb21c4.js\"><\/script><\/p>\n<h2>New features<\/h2>\n<p>During this year we have introduced new features apart from the retry handler. Some of them are:<\/p>\n<p>Page iterator: simplifies consuming responses carrying paged collections.<\/p>\n<p><script src=\"https:\/\/gist.github.com\/isvargasmsft\/c66a4c76b01ce25400c6bdf63268882c.js\"><\/script><\/p>\n<p>Batch request builder: combines multiple requests in a single call with ease.<\/p>\n<p><script src=\"https:\/\/gist.github.com\/isvargasmsft\/ebed5a186b5527940335d2b60aa1dd37.js\"><\/script><\/p>\n<p>Large file uploader: slices your files larger than 3MB into bytes and progressively uploads them until completion.<\/p>\n<p><script src=\"https:\/\/gist.github.com\/isvargasmsft\/c7a165be9a0582fe34fe2c58f792cff8.js\"><\/script><\/p>\n<h2>Try out the new RC19 version<\/h2>\n<p>Get started now by updating your composer.json and running `composer update` in your environment.<\/p>\n<p><script src=\"https:\/\/gist.github.com\/isvargasmsft\/06c86b8b5aa7c08300159bf3c620bb2e.js\"><\/script><\/p>\n<p>Take a moment to read our <a href=\"https:\/\/github.com\/microsoftgraph\/msgraph-sdk-php\/tree\/feat\/kiota-preview\">Getting started guide<\/a> and please don\u2019t hesitate to <a href=\"https:\/\/github.com\/microsoftgraph\/msgraph-sdk-php\/issues\/new\">open an issue<\/a> in <a href=\"https:\/\/github.com\/microsoftgraph\/msgraph-sdk-php\">our repository<\/a> for any errors or breaking changes you encounter that we didn\u2019t include in our guide.<\/p>\n<h2>Learn more about Microsoft Graph SDKs<\/h2>\n<p>The SDK includes a set of tools, libraries, and documentation that make it easy to get started building applications that take advantage of the rich data and insights available through Microsoft Graph API.<\/p>\n<p>Start saving time and removing complexity in your code today.\u00a0Sign up for the\u00a0<a href=\"https:\/\/developer.microsoft.com\/en-us\/microsoft-365\/dev-program\" target=\"_blank\" rel=\"noopener\">Microsoft 365 Developer Program<\/a>\u00a0to get a free Microsoft 365 developer. We also recommend that you join our\u00a0<a href=\"https:\/\/aka.ms\/m365\/community\" target=\"_blank\" rel=\"noopener\">Microsoft 365 Platform community<\/a>\u00a0calls and events and get involved with other developers who use Microsoft Graph and build solutions for Microsoft 365.<\/p>\n<p>Here are some additional resources we have pulled together to help you get started.<\/p>\n<ul>\n<li>Explore\u00a0<a href=\"https:\/\/learn.microsoft.com\/en-us\/graph\/sdks\/sdks-overview\" target=\"_blank\" rel=\"noopener\">our public documentation<\/a>, where you can find how to install the SDK, authenticate, customize your client and more.<\/li>\n<li>Use the\u00a0<a href=\"https:\/\/aka.ms\/ge\" target=\"_blank\" rel=\"noopener\">Microsoft Graph Explorer<\/a>, a tool that lets you make requests and see responses against the Microsoft Graph, and which displays corresponding snippets to requests you make.<\/li>\n<li>Visit the\u00a0<a href=\"https:\/\/developer.microsoft.com\/graph\" target=\"_blank\" rel=\"noopener\">Microsoft Graph Dev Center<\/a>.<\/li>\n<\/ul>\n<p>Happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we are announcing the new RC19 version. Since the RC5 announcement, we have improved many of the common scenarios to give you time back to focus on quality and design.<\/p>\n","protected":false},"author":95132,"featured_media":14703,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[233,180],"class_list":["post-14628","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-graph","tag-microsoft-graph","tag-microsoft-graph-php-sdk"],"acf":[],"blog_post_summary":"<p>Today we are announcing the new RC19 version. Since the RC5 announcement, we have improved many of the common scenarios to give you time back to focus on quality and design.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/14628","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/95132"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=14628"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/14628\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/14703"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=14628"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=14628"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=14628"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}