How to use cookies in php?

I’m trying to use cookie fronts, but I have a 500. Do you have any ideas?

I use laravel Facade :

Cookie::make('test', 'test', 60);

Its correct ?

Hi @Adrien,

Acorn does not currently support Illuminate/Cookie.

PHP cookies will work via the $_COOKIE superglobal and setcookie()

Or, if you’re just working with authenticated users and just need to persist data across a ‘session’, you could rely on WordPress and use the update_user_meta() and similar functions.

1 Like

Ok its bad ^^
I hope an abstraction layer will arrive quickly.

Thank you