---
title: "Discussion on \"Building a PHP SDK for 1Password's Passage: Enhancing Security and Simplifying Integration\" | Hashnode"
description: "Discussion on \"Building a PHP SDK for 1Password's Passage: Enhancing Security and Simplifying Integration\". PHP SDK for 1Password's Passage: Unleashing the Secrets of Secure Secrets Management with a Dash of PHP Magic!"
url: "https://hashnode.com/posts/passage-php-sdk/649e0e7d2f592ad64b9127c4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building a PHP SDK for 1Password's Passage: Enhancing Security and Simplifying Integration](https://eludadev.hashnode.dev/passage-php-sdk?utm_source=hashnode&utm_medium=feed)

PHP SDK for 1Password's Passage: Unleashing the Secrets of Secure Secrets Management with a Dash of PHP Magic!

Jun 29, 2023 · 8 min read · eludadev.hashnode.dev  
Read the article

-   [#1password](https://hashnode.com/tag/1password)
-   [#buildwith1password](https://hashnode.com/tag/buildwith1password)

## Written by

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

@eludadev · Morocco, Rabat

  
[View profile](https://hashnode.com/@eludadev)

code is poetry.

## Responses 1

Markdown supported · ⌘↵ to post

[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.
