PHP code example of basekit-laravel / basekit-laravel-ui

1. Go to this page and download the library: Download basekit-laravel/basekit-laravel-ui 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/ */

    

basekit-laravel / basekit-laravel-ui example snippets


return [
    'components' => [
        'button' => [
            'enabled' => true,
            'variants' => ['primary', 'secondary', 'danger'],
            'sizes' => ['sm', 'md', 'lg'],
            'default_variant' => 'primary',
            'default_size' => 'md',
        ],
        // ... more components
    ],

    'icons' => [
        'style' => 'outline', // outline, solid, mini
    ],

    'build' => [
        'debounce_ms' => 500,
    ],
];
bash
php artisan vendor:publish --tag=basekit-laravel-ui-config
bash
php artisan vendor:publish --tag=basekit-laravel-ui-css-v1
bash
php artisan basekit:ui:build
bash
php artisan basekit:ui:build --watch
bash
php artisan basekit:ui:build
bash
php artisan basekit:ui:build --watch
bash
php artisan vendor:publish --tag=basekit-views