register() method of a service provider.
Adding Navigation
Let’s assume we’re creating a Sidebar folder under app folder, and want to add a Blog navigation item to the Content section of the navigation. To add this item, we’ll create first aBlogSidebar class.
There is no command to create this class so you have to create it manually and it must extend from Shopper\Framework\Sidebar\AbstractAdminSidebar
We will have an architecture similar to this one
We assume here that you have already seen how to add routes for our administration explained in this section.
routes/shopper.php file contains this
register() method

The Menu & Item Class
Each item you see in the navigation is an instance of theMaatwebsite\Sidebar\Item class. Each top-level Menu in a section can contain its own group of Item children.
Basic API
The code examples above demonstrate how to add Navigation. Once you have aItem object, the following chainable methods are available to you: