---
title: "Comment by Godwin Pinto on \"Building a PHP SDK for 1Password's Passage: Enhancing Security and Simplifying Integration\" | Hashnode"
description: "Nice work Younes Laaroussi . My Thoughts on a quick glance. It would be great in your example, if you could modify to create the passage object as a global obje"
url: "https://hashnode.com/posts/passage-php-sdk/649e0e7d2f592ad64b9127c4/comment/64a10e4c2eab00c6bef06faa"
---

[Discussion](https://hashnode.com/posts/passage-php-sdk/649e0e7d2f592ad64b9127c4)

Comment [Building a PHP SDK for 1Password's Passage: Enhancing Security and Simplifying Integration](https://hashnode.com/posts/passage-php-sdk/649e0e7d2f592ad64b9127c4)

[Godwin Pinto](https://hashnode.com/@Godwinpinto)

[Jul 2, 2023](https://hashnode.com/posts/passage-php-sdk/649e0e7d2f592ad64b9127c4/comment/64a10e4c2eab00c6bef06faa)

Nice work [Younes Laaroussi](https://hashnode.com/@eludadev). My Thoughts on a quick glance. It would be great in your example, if you could modify to create the passage object as a global object instead of local (example middleware) since every call to passage sdk ends up creating a call to url fetch json web key sets which is an overheard for high performance systems.

[Younes Laaroussi](https://hashnode.com/@eludadev)

[Jul 7, 2023](https://hashnode.com/posts/passage-php-sdk/649e0e7d2f592ad64b9127c4/comment/64a10e4c2eab00c6bef06faa#reply-64a7d08ca25b10201445ded2)

Hi Godwin! Thanks for your feedback, but this SDK (and the official Node SDK) only fetches JWK sets when the authenticateRoute() function is called, so creating a new Passage object doesn't cause any overhead.
