Bosstone
1 week ago

Update 5.5 -> 8.x

Posted 1 week ago by Bosstone

Hi,

I am updating my laravel (with twilio) app from 5.5 to 8.x.

I am using forge - and I am updating step by step from 5.5 to 5.6,....

I have seen that I have to enter this Code in my EncryptCookies.php:

   /**
   * Indicates if cookies should be serialized.
   *
   * @var bool
   */
   protected static $serialize = true;

my EncryptCookies.php looks like:


   <?php

   namespace App\Http\Middleware;

   use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;

   class EncryptCookies extends Middleware
	{
    /**
     * The names of the cookies that should not be encrypted.
     *
     * @var array
     */
    protected $except = [
        //
    ];

   }

But where should I put the code?

Thank you for your feedback,

Stefan

Please sign in or create an account to participate in this conversation.