php artisan vendor:publish --tag="tomato-category-config"
php artisan vendor:publish --tag="tomato-category-views"
php artisan vendor:publish --tag="tomato-category-lang"
php artisan vendor:publish --tag="tomato-category-migrations"
<?php
return [
/*
* Types For
*
* you may need a types for accounts and another for content
*/
"for" => [
"accounts"=> [
"ar" => "Ψ§ΩΨΨ³Ψ§Ψ¨Ψ§Ψͺ",
"en" => "Accounts"
],
"content"=> [
"ar" => "Ψ§ΩΩ
ΨΨͺΩΩ",
"en" => "Content"
]
],
/*
* Types Of Type
*
* it's a sub-type of type like account type or content type
*/
"types" => [
"type"=> [
"ar" => "Ψ§ΩΩΩΨΉ",
"en" => "Type"
],
"status"=> [
"ar" => "Ψ§ΩΨΨ§ΩΨ©",
"en" => "Status"
],
],
/*
* Features
*/
"features" => [
"category" => false,
"types" => true
],
/*
* Category Middleware
*
* you can add a middleware to the category APIs routes
*/
"middleware" => [],
/*
* Category Resource
*
* you can custom API resource for categories
*/
"categories_resource" => null,
/*
* Types Resource
*
* you can custom API resource for types
*/
"types_resource" => null,
];