Upgrade guide

You're browsing the documentation for an old version of MoonShine. Consider upgrading your project to MoonShine 2.x.

Upgrading To 1.50 From 1.0

# registerResources is outdated and will be removed in 2.0 version

app(MoonShine::class)->registerResources([
MenuItem::make('Admins', new MoonShineUserResource()),
]);

We recommend to use the menu method

app(MoonShine::class)->menu([
MenuItem::make('Admins', new MoonShineUserResource()),
]);

# The fullWidth field method is outdated and will be removed

# To create a display grid in a form, you should use the Grid/Column decorations

# Laravel filemanager is excluded from the base package, it should be installed separately