Use zstd for domain home pages info, added nunomaduro/laravel-console-summary

This commit is contained in:
Deon George
2022-10-23 20:11:03 +11:00
parent 5745c67538
commit e6ba03080b
5 changed files with 1331 additions and 1861 deletions

View File

@@ -146,6 +146,18 @@ final class Echomail extends Model implements Packet
->withPivot(['id','parent_id']);
}
/* ATTRIBUTES */
public function getMsgAttribute($value): ?string
{
return $value ? zstd_uncompress(base64_decode($value)) : NULL;
}
public function getMsgSrcAttribute($value): ?string
{
return $value ? zstd_uncompress(base64_decode($value)) : NULL;
}
/* METHODS */
public function jsonSerialize(): array