Add composer.json file :
"benahmetcelik/laravel-route-lister": "dev-main",
php artisan vendor:publish
After press 0 and enter
php artisan optimize
Only Install and usage :)
Config/routes.php
'theme'=>[
'theme1'=>[
'back'=>'#00000',
'text'=>'#fffff'
]
]
Config/route-lister.php
'active'=>'theme2'
This is simple. Isn't it?