binarcode/laravel-stateless-session
Laravel Stateless Session stores session data in encrypted client-side cookies instead of server-side storage, helping APIs and horizontally scaled apps stay stateless while keeping Laravel’s familiar session interface.
csrf-header route means teams can now attach their own concerns (rate limiting, auth/session gating, CORS, request logging, custom response shaping) to the token endpoint without forking. For a PM this converts the package from "it does exactly one thing, take it or leave it" into "it does one thing and composes with our platform standards." That is the difference between a dependency an engineering team tolerates and one it will actually adopt.Consider adopting when:
Look elsewhere when:
@csrf and session handling already cover you; this adds a surface for no gain.For executives (one paragraph): This is a small, single-purpose open-source component that lets our JavaScript and mobile clients obtain the security token they need to submit forms safely. Version 1.1.0 adds the ability to attach our standard platform controls — rate limiting, access checks, logging — to that token endpoint through configuration rather than custom code. It is an additive, non-breaking release: no migration, no user-visible change, no cost. Adopting it reduces the amount of bespoke security code we write and maintain, and reduces the number of places our CSRF handling can drift out of policy. The decision it supports is whether to standardize CSRF token delivery on one vetted component or keep reimplementing it per application.
For engineering (the practical case): 1.1.0 lets you register custom middleware against the csrf-header route, which means token issuance can inherit the same throttling, auth gating, CORS, and observability stack as the rest of the app — no fork, no wrapper route, no divergence from platform conventions. It is a minor, additive change; upgrading is a composer bump. Two asks before you commit: pin the version and confirm the package's supported Laravel range and test/CI signal, since a token endpoint is a security-relevant surface and we should not adopt it on the strength of a changelog alone. If it clears that bar, it replaces roughly a day of route-plus-controller-plus-tests work per app and gives us a single place to audit CSRF delivery.
How can I help you explore Laravel packages today?