diff --git a/README.md b/README.md index d79df2b..788dbc1 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ class User extends Model { use Encryptable; // <-- 1. Include trait - protected $encryptable = [ // <-- 2. Include columns to be encrypted + public array $encryptable = [ // <-- 2. Include columns to be encrypted 'email', 'first_name', 'last_name', diff --git a/composer.json b/composer.json index f33ed1e..94dc291 100644 --- a/composer.json +++ b/composer.json @@ -18,8 +18,8 @@ ], "require": { "php": "^8.0", - "illuminate/database": "^10.0", - "illuminate/support": "^10.0" + "illuminate/database": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0" }, "autoload": { "psr-4": {