sky

On this page

Upgrading

upgrade to v4.0

  • the editor TipTapEditor has been deleted and replaced with RichEditor

using an enum for the status:

the namespace for the PostStatus changed from LaraZeus\\Sky\\Models\\PostStatus to LaraZeus\\Sky\\Enums\\PostStatus

Configuration:

Add to your config file:

1'enums' => [
2 'PostStatus' => PostStatus::class,
3],

and remove the key PostStatus from the models array.

the same for the panel configuration:

1SkyPlugin::make()
2 ->models([
3 'PostStatus' => \App\Enums\Sky\PostStatus::class,
4 ])
5 
6 ->enums([
7 'PostStatus' => \App\Enums\Sky\PostStatus::class,
8 ])

Zeus is an open-source project. Thanks to my sponsors for helping me maintain this project.