php artisan vendor:publish --tag="tomato-support-config"
php artisan vendor:publish --tag="tomato-support-views"
php artisan vendor:publish --tag="tomato-support-lang"
php artisan vendor:publish --tag="tomato-support-migrations"
<?php
use TomatoPHP\TomatoSupport\Transformers\FAQResource;
use TomatoPHP\TomatoSupport\Transformers\PagesResource;
use TomatoPHP\TomatoSupport\Transformers\TicketsResource;
use TomatoPHP\TomatoSupport\Transformers\TicketResource;
return [
/*
* Add Actions Buttons to the Show Ticket Page with blade view
*/
"actions" => null,
/*
* Show Create Button on Tickets Page
*/
"show_create_ticket_button" => true,
/*
* Resources Classes
*/
"resources" => [
"tickets" => [
"index" => TicketsResource::class,
"show" => TicketResource::class
],
"pages" => [
"index" => PagesResource::class,
"show" => PagesResource::class
],
"faq" => [
"index" => FAQResource::class,
"show" => FAQResource::class
]
],
/*
* Features
*/
"features" => [
"faq" => true,
"pages" => true,
"tickets" => true,
"apis" => true
]
];