๐ŸŽญTomato Themes

A Theme System Like Wordpress on your Tomato Admin

before installing this plugin make sure you have installed tomato-sections, from v1.2 themes built on the laravel modules package to match the HMVC arch.

Installation

composer require tomatophp/tomato-themes

or as Module

composer require tomatophp/tomato-themes-module

now use the install command

php artisan tomato-themes:install

the last thing you need to do it's allow Modules Namespace inside your composer.json like this

"autoload": {
    "psr-4": {
        "App\\": "app/",
        "Database\\Factories\\": "database/factories/",
        "Database\\Seeders\\": "database/seeders/",
        "Modules\\": "Modules/"
    }
},

make sure that the Themes folder exists.

then use this command

composer dump-autoload

now inside your tailwind.config.js add this line

content: [
    ...
    "./Modules/**/resources/views/*.blade.php",
    "./Modules/**/resources/views/**/*.blade.php",
],

now rebuild your assets

yarn build

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security

Please see SECURITY for more security information.

Credits

License

The MIT License (MIT). Please see License File for more information.

Last updated