well to store in local storage, you would need the help of JS. laravel i dont think can do this for you.
whats wrong with the good old session/cookies to store cart data?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
i need to save form data in order to return them on page refresh, then clear the form when a button is clicked. a good example is the shopping cart so it remain with user session
well to store in local storage, you would need the help of JS. laravel i dont think can do this for you.
whats wrong with the good old session/cookies to store cart data?
Please or to participate in this conversation.