PHP code example of codewithdiki / filament-theme-manager
1. Go to this page and download the library: Download codewithdiki/filament-theme-manager 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/ */
codewithdiki / filament-theme-manager example snippets
public function up()
{
Schema::table('themes', function (Blueprint $table) {
$table->string('asset_compiler')->default('mix');
});
}
php artisan vendor:publish --tag=filament-theme-manager-migrations
php artisan vendor:publish --tag=filament-theme-manager-views
php artisan migrate