Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 820 Bytes

UPGRADING.md

File metadata and controls

15 lines (12 loc) · 820 Bytes

Upgrading

Moving from calebporzio/onboard to spatie/laravel-onboard

  • Run composer remove calebporzio/onboard and composer require spatie/laravel-onboard
  • Replace any reference in your application from Calebporzio\Onboard to Spatie\Onboard
  • v1 of this package is fully compatible with the original package by Caleb

Upgrading from v1 to v2

  • Support for PHP 7.4 has been dropped
  • Support for Laravel 7 and 8 has been dropped
  • The \Spatie\Onboard\OnboardFacade has been moved to \Spatie\Onboard\Facades\Onboard
  • The \Spatie\Onboard\GetsOnboarded trait has been moved to \Spatie\Onboard\Concerns\GetsOnboarded
  • You should add the new \Spatie\Onboard\Concerns\Onboardable interface to your User model
  • The $user parameter in the completeIf callbacks has been renamed to $model