Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Passport Laravel Package

laravel/passport

Laravel Passport provides an OAuth2 server for Laravel, enabling API authentication with personal access tokens, password and authorization code grants, and client credentials. Integrates with Laravel’s auth system for secure, standards-based token issuing.

View on GitHub
Deep Wiki
Context7
v13.7.2
v13.7.1
v13.7.0
v13.6.0
v13.5.0
v13.4.2
v13.4.1
v13.4.0
v13.3.0
v13.2.2
v13.2.0
v13.1.0
v13.0.6
v13.0.5
v13.0.4
v13.0.3
v13.0.2
v13.0.1
v13.0.0
v12.4.2
v12.3.1
v12.3.0
v12.2.0
v12.1.0
v12.0.2
v9.3.2

Fixes

v9.3.1

Fixed

  • Use custom models in purge command if set (#1316)
  • Apply table responsive on table class (#1318)
v9.3.0

Added

  • Guzzle 7 support (#1311)
v9.2.2

Fixed

  • Fix maxlength for token names (#1300)
  • Improve passport:install command (#1294)
v9.2.1

Fixed

  • Fix actingAsClient token relation (#1268)
  • Fix HashCommand (bedf02c)
v9.2.0

Added

  • Allow to change Models database connection (#1255, 7ab3bdb)

Fixed

  • Nonstandard ID in the token's relationship with the user (#1267)
v9.1.0

Added

  • Implement secret modal (#1258)
  • Warn about one-time-hashed-secret (#1259)
  • Add force option to hash command (#1251)

Fixed

  • Implement personal access client config (#1260)
v9.0.1

Fixed

  • Fix displaying secret in Vue component (#1244)
  • Moved provider check to bearer token only (#1246)
  • Fix create client call (aff9d09)
v9.0.0

Added

  • Allow client credentials secret to be hashed (#1145, ccbcfeb, 1c40ae0)
  • Implement passport:hash command (#1238)
  • Initial support for multiple providers (#1220)

Changed

  • Client credentials middleware should allow any valid client (#1132)
  • Switch from getKey() to getAuthIdentifier() to match Laravel core (#1134)
  • Use Hasher interface instead of HashManager (#1157)
  • Bump league server dependency (#1237)

Removed

  • Remove deprecated functionality (#1235)
  • Drop support for old JWT versions (#1236)
v8.5.0

Added

  • Automatic configuration of client UUIDs (#1231)
v8.4.4

Fixed

  • Fix 500 Internal Server Error response (#1222)
v8.4.3

Fixed

  • Fix resolveInheritedScopes (#1207)
v8.4.2

Fixed

  • mergeConfigFrom already checked if app is running with config cached (#1205)
v8.4.1

Fixed

  • Forget session keys on invalid match (#1192)
  • Update dependencies for PSR request (#1201)
v8.4.0

Changed

  • Implement auth token for access requests (#1188)

Fixed

  • Revoke refresh tokens when auth tokens get revoked (#1186)
v8.3.1

Fixed

v8.3.0

Added

  • Add a Passport Client factory to Passport publishing (#1171)

Changed

  • Use bigIncrements and indexes on relationships (#1169, 140a693)
v8.2.0

Added

  • Update ClientCommand to support public clients (#1151)
  • Purge Command for revoked and/or expired tokens and auth codes (#1159, 6c1ea42)

Changed

  • Replace deprecated package and namespaces (#1158)
v8.1.0

Added

  • Allow access to HTTP response status code on OAuthServerException (#1148)
  • Modify UserRepository to check for 'findAndValidateForPassport' method (#1144)
v8.0.2

Changed

  • Add abstract CheckCredentials middleware and allows to create (#1127)
v8.0.1

Fixed

  • Fix actingAsClient testing method (#1119)
v8.0.0

Added

  • Add ability to customize the RefreshToken (#966)
  • Add support for "public" clients (#1065)

Changed

  • Rework HandlesOAuthErrors trait to middleware (#937)
  • Use a renderable exception for OAuth errors (#1066)
  • Use diactoros 2.0 and psr-http-factory (aadf603)
  • Replaced helpers with Blade directives (#939)
  • Use caret for constraints (d906804)
  • Dropped support for Laravel 5.8 (654cc09)
  • Dropped support for PHP 7.1 (3c830ac)
  • Upgrade to league/oauth2-server 8.0 (97e3026)

Fixed

  • Fix exception will thrown if token belongs to first party clients (#1040)
  • Fix auth codes table customization (#1044)
  • Add key type to refresh token model (e400c2b)
v7.5.1

Fixed

  • Cast returned client identifier value to string (#1091)
v7.5.0

Added

  • Add actingAsClient method for tests (#1083)
v7.4.1

Fixed

v7.4.0

Added

  • Let Passport support inherited parent scopes (#1068)
  • Accept requests with the encrypted X-XSRF-TOKEN HTTP header (#1069)
v7.3.5

Fixed

  • Use bigInteger column type for user_id columns (#1057)
v7.3.4

Changed

  • Remove old 5.9 constraints (58eb99c)
v7.3.3

Changed

  • Update version constraints for Laravel 6.0 (609b5e8)
v7.3.2

Fixed

v7.3.1

Changed

  • Change server property type in CheckClientCredentialForAnyScope (#1034)
v7.3.0

Added

  • Allow first party clients to skip the authorization prompt (#1022)

Fixed

  • Fix AccessToken docblock (#996)
v7.2.2

Fixed

  • Allow installs of zend-diactoros 2 (c0c3fca)
v7.2.1

Fixed

  • Change wasRecentlyCreated to false (#979)
v7.2.0

Changed

  • Changed the way to get action path from url() to route() (#950)
  • Allow '*' scope to be used with Client Credentials (#949)

Fixed

  • Replace fire() with dispatch() (#952)
v7.1.0

Added

  • Added redirect_uri and user_id options to cli (#921, 8b8570c)
  • Add ext-json dependency (#940)

Changed

  • Make name an optional question (#926)

Fixed

  • Do not auto increment AuthCode ID (#929)
  • Allow multiple redirects when creating clients (#928)
  • Add responses for destroy methods (#942)
v7.0.5

Fixed

  • Rename property (#920)
v7.0.4

Added

  • Add middleware CheckClientCredentialsForAnyScope (#855)
  • Support a default scope when no scope was requested by the client (#879)
  • Allow setting expiration of personal access tokens (#919)

Changed

  • Change auth code table to the model's table (#865)
  • Made whereRevoked consistent (#868)
  • Use unsignedInteger column type for client_id columns (47f0021)

Fixed

  • Prevent passing empty string variable to retrieveById method (#861)
v7.0.3

Added

  • Add names to routes for re-usability (#846)
  • Add user relationship to client model (#851, 3213be8)
  • Add the ability to retrieve current client (#854)

Fixed

  • Fix migrations tag publish (#832)
v7.0.2

Changed

  • Authcode model is now used for persisting new authcodes (#808)
  • resources/assets directory was flattened (#813)

Fixed

v7.0.1

Added

  • Add option to enable cookie serialization (9012496)
v7.0.0

Changed

  • Don't serialize by default (29e9d53)
v11.9.2
v11.9.1
v11.9.0
v11.8.7
v11.8.6
v11.8.5
v11.8.4
v11.8.3
v11.8.2
v11.8.1
v11.8.0
v11.7.0

Added

v11.6.1

Changed

v11.6.0

Changed

Fixed

v11.5.1

Fixed

v11.5.0
v11.4.0

Changed

v11.3.1

Changed

v11.3.0

Added

Changed

v11.2.1

Fixed

v11.2.0

Changed

v11.10.6
v11.10.5
v11.10.4
v11.10.2
v11.10.1
v11.1.0

Added

v11.0.1

Changed

v11.0.0

Added

Changed

Fixed

Removed

v10.4.1

Changed

v10.4.0

Changed

v10.3.3

Changed

v10.3.2

Fixed

v10.3.1

Changed

  • Allow to use custom authorization server response (#1521)
v10.3.0

Changed

  • Laravel 9 Support (#1516)
v10.2.2

Fixed

  • Fix jsonSerialize PHP 8.1 issue (#1512)
v10.2.1

Fixed

  • Fix str_replace error when third parameter ($subject) is null (#1511)
v10.2.0

Added

  • Add custom encryption key for JWT tokens (#1501)

Changed

  • Refactor expiry dates to intervals (#1500)
v10.1.4

Fixed

  • Ensure client model factory always creates models with a primary key (#1492
v10.1.3

Changed

Fixed

v10.1.2

Fixed

  • Backport phpseclib v2 (#1418)
v10.1.1

Changed

  • Update to phpseclib v3 (#1410)
v10.1.0

Added

Removed

  • Remove Vue components (#1352)
v10.0.1

Fixed

  • Use newFactory to properly reference factory (#1349)
v10.0.0

Added

  • Support Laravel 8 & drop PHP 7.2 support (#1336)

Changed

  • forceFill new auth code attributes (#1266)
  • Use only one PSR 7 implementation (#1330)

Removed

  • Remove old static personal client methods (#1325)
  • Remove Guzzle dependency (#1327)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport