1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00
laravel-tips/content/tips/use-the-shouldbeencrypted-interface-on-a-job-class-to-make-laravel-encrypt-the-jobs-payload.md
2022-03-26 13:32:34 +01:00

584 B

title tweet_id thread_slug author_username images created_at slug
Use the `ShouldBeEncrypted` interface on a job class to make Laravel encrypt the job's payload 1507455546978287617 weekly-thread-2022-12 cosmeescobedo
https://pbs.twimg.com/media/FOG28lHUcAAk6Om.jpg
2022-03-25T20:33:04+00:00 use-the-shouldbeencrypted-interface-on-a-job-class-to-make-laravel-encrypt-the-jobs-payload

🔥 #Laravel Job Encryption

Since Laravel v8.19.0, you can add the ShouldBeEncrypted interface to your job class. Laravel will encrypt the job's payload automatically.