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

Airlock Laravel Package

laravel/airlock

Laravel Sanctum (formerly Airlock) offers lightweight authentication for Laravel SPAs and simple APIs. Use cookie-based session auth for first-party SPAs or issue API tokens for mobile apps and third-party clients, with minimal setup and seamless Laravel integration.

View on GitHub
Deep Wiki
Context7
v4.3.3
v4.3.2
v4.2.2
v4.2.1
v4.2.0
v4.1.2
v4.1.1
v4.1.0
v4.0.7
v4.0.5
v4.0.3
v3.3.2
v3.2.6
v3.2.3
v3.2.1

Fixed

v3.2.0
v3.1.0

Changed

v3.0.1

Changed

v2.9.4

Changed

v2.9.3

Changed

  • Environment APP_URL added into the default sanctum.stateful configuration (#264)
v2.9.2

Fixed

  • Changed Primary Key will not be used in created token's plainTextToken (#262)
v2.9.1

Fixed

  • Avoid running string functions when domain is null (#258)
v2.9.0

Added

  • Add multiple guard support for SPA auth (#246, f5695ae)

Fixed

  • Return json response when the request expects a json (#247)
v2.8.2

Fixed

  • Fix user provider in sanctum guard (#225)
v2.8.1

Changed

  • Add default nextjs address to stateful (e86d3e0)
v2.8.0

Added

  • PHP 8 Support (#213)
v2.7.0

Added

  • Adds origin header fallback (#204)
v2.6.0

Changed

  • Shorten tokens (#186)
v2.5.0

Added

  • Laravel 8 support (#184)
v2.4.2

Fixed

  • Use the correct Str::endsWith parameter order (#163)
v2.4.1

Fixed

v2.4.0

Added

  • Added Multiple Provider Support (#149)

Fixed

  • Fixed Host Problem (#155)
v2.3.3

Fixed

  • EncryptCookies middleware option in config/sanctum.php (#147)
v2.3.2

Added

  • Add routes config option (6cf798f)
v2.3.1

Fixed

  • 419 Exception with requests without referrer (#139)
v2.3.0

Changed

  • More performant tokens lookup (#136)
v2.2.1

Fixed

  • No need to specify a provider (#129)
v2.2.0

Added

  • Allow customizing the query used to get the token (#124)
v2.15.1

Changed

v2.15.0

Added

Fixed

v2.14.2

Changed

v2.14.1

Changed

  • Add helper for current app url with port (5702317)
v2.14.0

Changed

  • Laravel 9 support (#329)
v2.13.0

Added

  • Add an event on successful token validation (#327, b656bc1)
v2.12.2

Changed

v2.12.1

Changed

  • Rename CheckScopes and CheckForAnyScope to CheckAbilities and CheckForAnyAbility (#312)
v2.12.0

Added

  • Add CheckScopes and CheckForAnyScope Middleware (#310)
v2.1.2

Fixed

  • Enhance supportsTokens check (#123)
v2.11.4

Fixed

  • Revert "fix: replace hardcoded "web" guard by config('sanctum.guard')" (#309)
v2.11.3

Fixed

  • Replace hardcoded "web" guard by config('sanctum.guard') (#307)
v2.11.2

Fixed

  • Ignore updating last_used_at for deciding the DB connection host (#283, 2c8b9a1)
  • Fix resolving wrong app instance on Octane (#285, #286)
v2.11.1

Changed

  • Only parse APP_URL for default stateful domains when it's set (#279)
v2.11.0

Added

  • Sanctum::$accessTokenAuthenticationCallback callback for more granular control over access token validation (#275, 9c07921, #276)
v2.1.1

Fixed

  • actingAs any ability (#120)
v2.10.0

Added

  • Add HasApiTokens contract to complement trait (#270)
v2.1.0

Added

  • Make the guard configurable (#110)
v2.0.0

Changed

  • Renamed package to Sanctum
v1.0.1

Fixed

  • Allow localhost ip access by default (#81)
  • Update minimum Laravel version to ^6.9 (#89)
  • Fix wildcard matching (d8de232, 9a66e76)
v1.0.0

First stable release.

v0.2.1

Changed

  • Allow .env configuration of stateful domains (#70)
v0.2.0

Added

  • Added user mocking using actingAs (#51)
  • Add a CSRF middleware config variable (#54, 4f77acd, 7df454d)

Changed

  • Modify PersonalAccessToken Model to be polymorphic (#49)
v0.1.0

Initial commit.

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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle