Skip to main content
The Lunar admin panel is highly customizable. Extensions allow adding and changing the behavior of existing Filament resources. This is useful for adding buttons, custom functionality, or modifying how data is displayed.

Extending Pages

To extend a page, create an extension class and register it with the LunarPanel facade.

Extending an edit page

The following example registers a custom extension for the EditProduct page:

Extending a list page

The following example registers a custom extension for the ListProducts page:

Extending Resources

Much like extending pages, resource extensions are created and registered with the LunarPanel facade. The following example registers a custom extension for the ProductResource:

Extendable Resources

All Lunar panel resources are extendable, allowing custom functionality to be added or existing behavior to be changed.