Download the PHP package solution-forest/tab-layout-plugin without Composer
On this page you can find all versions of the php package solution-forest/tab-layout-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download solution-forest/tab-layout-plugin
More information about solution-forest/tab-layout-plugin
Files in solution-forest/tab-layout-plugin
Package tab-layout-plugin
Short Description This is a layout plugin for Filament Admin
License MIT
Homepage https://github.com/solution-forest/tab-layout-plugin
Informations about the package tab-layout-plugin
[!IMPORTANT] We will archive this project since filament3 supports tabs now. https://beta.filamentphp.com/docs/3.x/infolists/layout/tabs
Tab Layout Plugin
This plugin creates widgets with tab layout for Filament Admin.
Demo site : https://filament-cms-website-demo.solutionforest.net/admin
Demo username : [email protected]
Demo password : 12345678 Auto Reset every hour.
Installation
You can install the package via composer:
Optionally, you can publish the views using
Usage
To build Tab
widget:
You will then define the child component 'schema()' to display inside:
Tabs may have an icon and badge, which you can set using the icon()
and badge()
methods:
Assign parameters to component
Additionally, you have the option to pass an array of data to your component.
In addition to using the TabContainer
component, you can create your own custom tab layout components by extending the TabLayoutComponent
class or using command php artisan tab-layout:component
.
For example, the following PHP code defines a FilamentInfoWidget class that extends TabLayoutComponent and specifies a ComponentTabComponent
as the tab component to use. The getData method can be used to populate the component with data.
You can also use the php artisan tab-layout:component
command to generate the code for a new tab layout component. For example, to generate a FilamentInfoWidget
component, you can run the following command:
After creating your custom tab layout component by extending the TabLayoutComponent
class, you can register it on the schema of a TabLayoutTab
instance.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
All versions of tab-layout-plugin with dependencies
filament/filament Version ^2.0
spatie/laravel-package-tools Version ^1.13.5