codewithdiki/filament-theme-manager

Plugin for laravel theme manager deploy your theme just by 1 click.

0.2.3 2023-01-26 02:51 UTC

This package is auto-updated.

Last update: 2024-04-30 00:39:36 UTC


README

Geting Started

Things You Should Know Before Installing This Plugin

This plugin is stand above hexadog/laravel-themes-manager and filament/filament so before you install this plugin I recommend you to learn about them first. This plugin is require you to run a proccess in a queue. Use Laravel Horizon or other tools to run queue and also i recommend you to use redis.

READ THIS

If you install this plugin before vite is supported you should create new migrations for themes table, your migration should looks like this

    public function up()
    {
        Schema::table('themes', function (Blueprint $table) {
            $table->string('asset_compiler')->default('mix');
        });
    }

Install Guide

composer require codewithdiki/filament-theme-manager

In your config/app.php place this code in you providers section

'providers' => [

        ...

        /*
         * Package Service Providers...
         */
        Codewithdiki\FilamentThemeManager\FilamentThemeManagerProvider::class,

        ...

    ],

Publish Views And Migration

php artisan vendor:publish --tag=filament-theme-manager-migrations

php artisan vendor:publish --tag=filament-theme-manager-views

Migrate

php artisan migrate

image image image image