{"repo":"diogogpinto/filament-page-context","free":true,"listed":false,"github":"https://github.com/diogogpinto/filament-page-context","clone":"git clone https://github.com/diogogpinto/filament-page-context.git","description":"A Filament plugin that automatically injects current request breadcrumbs and page title into the filament() method, enhancing page context and navigation for Filament admin panels.","language":"PHP","stars":29,"topics":[],"license":"MIT","category":"dashboards-admin","readme_excerpt":"Filament Panel Page Context A Filament plugin that automatically injects current request breadcrumbs and page title into the filament() method, enhancing context and navigation for admin panels. Developed with theme extensibility in mind, it seamlessly integrates with and allows further customization of Filament themes. Created with the purpose to get current request breadcrumbs and pagetitle and inject them anywhere in the panel. It currently returns the current request's Filament breadcrumbs (with Filament's structure) and Page Title (can be a Custom Page Title, Resource Related Title or Record Related Title). Installation You can install the package via composer: Usage That's it. Once you install this plugin, the FilamentPageContext Service Provider will be injected automatically into Laravel Service Providers and extend your filament() method. Getting Filament's current request breadcrumbs Getting Filament's current request page title Add Filament's breadcrumbs to your topbar This is a request I've been getting lately that will have its own plugin really soon. Until then, you can follow the guide below: 1. Create a new view (resources/views/topbar-breadcrumbs.php) and add the following code: 2. Add the following snippet to your AppServiceProvider.php :warning: Warning: This is just an example of how to inject breadcrumbs in the topbar. You should be aware that this code isn't responsive and can mess your mobile functionality. Testing Changelog Please see CHANGELOG for mor","default_branch":null,"files":null,"tree":[],"storefront":"/r/diogogpinto","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/diogogpinto/filament-page-context/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."}