passageidentity / passage-php
Passkey Complete for PHP - Integrate into your PHP API or service to enable a completely passwordless standalone auth solution with Passage by 1Password.
Requires
- php: ^7.4 || ^8.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- firebase/php-jwt: ^6.5.0
- guzzlehttp/guzzle: ^7.3
- guzzlehttp/psr7: ^1.7 || ^2.0
- phpfastcache/phpfastcache: ^9.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.5
- phpunit/phpunit: ^9.0
- squizlabs/php_codesniffer: ^3.0
- vlucas/phpdotenv: ^5.6
This package is auto-updated.
Last update: 2024-12-20 21:50:20 UTC
README
About
Passage by 1Password unlocks the passwordless future with a simpler, more secure passkey authentication experience. Passage handles the complexities of the WebAuthn API, and allows you to implement passkeys with ease.
Use Passkey Flex to add passkeys to an existing authentication experience.
Use Passkey Complete as a standalone passwordless auth solution.
Use Passkey Ready to determine if your users are ready for passkeys.
In passage-node
Use passage-php to implement Passkey Complete into your PHP backend to authenticate requests and manage users.
Getting Started
Check Prerequisites
You'll need a free Passage account and a Passkey Complete app set up in Passage Console to get started.
Learn more about Passage Console →
Install
composer require passageidentity/passage-php
Import
use Passage\Client\Controllers\Passage;
Initialize
$app_id = 'YOUR_PASSAGE_APP_ID'; $api_key = 'YOUR_PASSAGE_API_KEY'; $passage = new Passage( $app_id, $api_key );
Go Passwordless
Find all core functions, user management details, and more implementation guidance on our Passkey Complete PHP Documentation page.
Support & Feedback
We are here to help! Find additional docs, the best ways to get in touch with our team, and more within our support resources.
Passage is a product by 1Password, the global leader in access management solutions with nearly 150k business customers.
This project is licensed under the MIT license. See the LICENSE file for more info.