socialdept / atp-resolver
Resolve AT Protocol DIDs and handles in Laravel
Requires
- php: ^8.3
- ext-gmp: *
- guzzlehttp/guzzle: ^7.5
- illuminate/cache: ^11.0|^12.0|^13.0
- illuminate/console: ^11.0|^12.0|^13.0
- illuminate/support: ^11.0|^12.0|^13.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.89
- orchestra/testbench: ^9.0|^10.0|^11.0
- phpunit/phpunit: ^11.0|^12.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Resolve AT Protocol identities in your Laravel application.
Important
atp-resolver is deprecated and no longer maintained. Use atp-support instead. It ships the same resolver with the same method names, plus caching, lexicon resolution and more. See Moving to atp-support.
atp-resolver resolved AT Protocol identities in Laravel: DIDs to documents, handles to DIDs, and any identity to its PDS, with caching and support for did:plc and did:web. Its resolver now lives in atp-support, which you'll find documented on https://socialde.pt/docs/atp-support.
Moving to atp-support
Swap the package:
composer remove socialdept/atp-resolver composer require socialdept/atp-support
Then change the imports. The method names and arguments stay the same:
// Before use SocialDept\AtpResolver\Facades\Resolver; use SocialDept\AtpResolver\Support\Identity; // After use SocialDept\AtpSupport\Facades\Resolver; use SocialDept\AtpSupport\Identity; $document = Resolver::resolveDid('did:plc:ewvi7nxzyoun6zhxrhs64oiz'); $pds = Resolver::resolvePds('alice.bsky.social');
The full list of renamed classes, config keys and env vars is in the introduction.
License
The MIT License (MIT). Please see License File for more information.
