Using JSON typed data in a Laravel database provides a flexible solution for saving dynamic attributes or unstructured data for any purpose In this tutorial, we will walk through the process of...
Series: Automatic Casting With Eloquent $casts
How to Encrypt and Decrypt Model Data Using Casts in Laravel
In this guide you'll learn how to use the 'encrypted' cast in your Eloquent Models to auto encrypt and decrypt sensitive data and ensure it is stored securely.
In this guide, we'll create a 'Car' model + migration with a JSON column, seed some test data and search through the JSON data using Laravel Eloquent queries.