1. Go to this page and download the library: Download edumicro/daisyblade 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/ */
edumicro / daisyblade example snippets
public function export(Request $request)
{
return Excel::download(new ProductsExport($request), 'products.xlsx');
}
bash
# Vite — assets published to resources/js/daisyblade.js
php artisan daisyblade:install --vite
# Script tag — assets published to public/vendor/daisyblade/
php artisan daisyblade:install --public