PHP code example of themesberg / flowbite-laravel-components
1. Go to this page and download the library: Download themesberg/flowbite-laravel-components 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/ */
themesberg / flowbite-laravel-components example snippets
// config/flowbite-blade.php
return [
'prefix' => 'fwb', // Component alias prefix
'default_color' => 'blue', // Default color for buttons, badges, etc.
'default_size' => 'md', // Default size for inputs, buttons, etc.
'layout' => 'admin', // Default layout
];
bash
php artisan vendor:publish --tag=flowbite-blade-config
bash
php artisan vendor:publish --tag=flowbite-blade-views