laravel-casters

Introduction

Upgrade Guide

{note} You're browsing the documentation for an old version of laravel-casters. Consider upgrading your project to v4. Check your version with the following command:

`composer show rawilk/laravel-casters`

v3 now requires PHP 8.1 or greater, so your environment will need to be at least that version.

v3 now requires Laravel 9.0 or greater, so you will need to ensure your project is upgraded to at least version 9.0.

v3 Dropped the Encrypted cast in favor of using the encryption casts that come with Laravel now. You will need to make sure you changed any references from Encrypted::class to 'encrypted' in your models.

Previous
Installation