PHP code example of lampdev / tabs

1. Go to this page and download the library: Download lampdev/tabs library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

lampdev / tabs example snippets


use Lampdev\Tabs\Tabs;

public function fields(Request $request)
{
    return [
        ....

        Tabs::make('Name', [
            'Test 1' => 'message from test 1',
            'Test 2' => 'message from test 2',
            'Test 3' => 'message from test 3'
        ]),
    ];
}