{"repo":"aymanalhattami/filament-page-with-sidebar","free":true,"listed":false,"github":"https://github.com/aymanalhattami/filament-page-with-sidebar","clone":"git clone https://github.com/aymanalhattami/filament-page-with-sidebar.git","description":"Organize pages in the sidebar in order to make navigation between pages more comfortable.","language":"PHP","stars":272,"topics":["filament","laravel"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Filament Page With Sidebar Organize pages in the sidebar in order to make navigation between pages more comfortable. It supports both custom pages and resource pages Note: For Filament 4.x Filament 5.x use version 3.x For Filament 3.x use version 2.x For Filament 2.x use version 1.x Screenshots LTR (Left to Right) RTL (Right to Left) Please check out this video by Povilas Korop (Laravel Daily) to learn more about our package: link Installation optionally you can publish config, views and components files Usage with Resource Pages 1. First you need to prepare resource pages, for example, we have an edit page, view page, manage page, change password page, and dashboard page for UserResource 2. Define a $record property in each custom page, example 3. Then, define the sidebar method as static in the resource 4. Use x-filament-page-with-sidebar::page component in the page blade file as a wrapper for the whole content or add the trait on any page you want the sidebar included. This trait will add the sidebar to the Page. Add it to all your Resource Pages : If you want to use custom view, you can still overwrite the default value with and Usage with Page 1. Add the trait on any page you want the sidebar included. 2. Then, define the sidebar method as static in the page More Options Set title and description for sidebar You can set the title or description by using setTitle, setDescription, setDescriptionCopyable methods for the sidebar that will be at the beginning of the sidebar o","default_branch":null,"files":null,"tree":[],"storefront":"/r/aymanalhattami","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aymanalhattami/filament-page-with-sidebar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}