Convert common Laravel class properties to their PHP attributes added in Laravel 13.
Before
class User extends Model{ public $timestamps = false; protected $fillable = ['name', 'email']; protected $hidden = ['password', 'remember_token']; protected $appends = ['full_name'];
After
#[Fillable('name', 'email')]#[Hidden('password', 'remember_token')]#[Appends('full_name')]#[WithoutTimestamps]class User extends Model {}
Sign in with any of the following services to connect Shift with your Laravel project.
Don't use one of these services?
Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.