msgraph-sdk-php icon indicating copy to clipboard operation
msgraph-sdk-php copied to clipboard

Laravel takes a long time to respond to errors when installing this package

Open edikurniawan-dev opened this issue 5 months ago • 2 comments

I installed this package on a new project using the Laravel Inertia Starter Kit. Before installing this package, Laravel responded quickly to errors. However, after installing this package, Laravel took a very long time to respond to errors, sometimes even tens of seconds. Why does this happen, and what's the solution?

Before installing the package Image

After installing the package Image

edikurniawan-dev avatar Jul 14 '25 08:07 edikurniawan-dev

I don't know the exact issue, but I do know that this package is excessively large and maybe that's the reason? There is a way to trim it using composer if you're not using every aspect of it, I hear that will reduce file size and increase speed. Or you could just use V1, as I'm doing, an actual, sane SDK.

dearsina avatar Sep 21 '25 17:09 dearsina

I don't know the exact issue, but I do know that this package is excessively large and maybe that's the reason? There is a way to trim it using composer if you're not using every aspect of it, I hear that will reduce file size and increase speed. Or you could just use V1, as I'm doing, an actual, sane SDK.

Thank's for your suggestion

edikurniawan-dev avatar Sep 22 '25 05:09 edikurniawan-dev