Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,21 @@ When defining your own views & styles, keep in mind that cookie notices are obst

---

## FAQ

<details open>
<summary>If you use Laravel Octane with Laravel 11</summary>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rephrase as a question.


It optimizes your application by storing requests in RAM. Some reports mention that you need to flush the cookieConsent class to ensure it correctly saves the consent value, like so in your config/octane.php:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"It" is not a clear answer. Please add more context.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also:

Some reports mention that you need to flush the cookieConsent class to ensure it correctly saves the consent value, like so in your config/octane.php:

...does not sound like a real answer.

Maybe something like (please check typos):

In order to reset the cookies setup for each incoming Octane request:
1. Make sure the [insert cookie names] cookies are not encrypted
2. Add the following items to the flushed dependencies in `config/octane.php`:


```php
'flush' => [
'cookie.consent',
\WhiteCube\LaravelCookieConsent\CookieConsent::class,
],
```
</details>

## Development roadmap

We have a few ideas to further improve this package in the future. If you wish to add useful features, feel free to open a PR or an issue on this repository.
Expand Down