Download the PHP package gurmehub/helpdesk without Composer
On this page you can find all versions of the php package gurmehub/helpdesk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gurmehub/helpdesk
More information about gurmehub/helpdesk
Files in gurmehub/helpdesk
Package helpdesk
Short Description Laravel Helpdesk package — Odoo XML-RPC client and Inertia React pages.
License proprietary
Informations about the package helpdesk
gurmehub/helpdesk
Laravel Composer paketi. Odoo Helpdesk ile XML-RPC (/xmlrpc/2/common, /xmlrpc/2/object) üzerinden konuşur. Inertia + React (Polaris) sayfaları içerir. Ticket için Eloquent model yoktur.
Gereksinimler
- PHP 8.2+
- Laravel 11 veya 12 (Inertia React)
- Host’ta Polaris, App Bridge, Vite ve React hazır olmalı
- Host’ta Laravel Wayfinder (
laravel/wayfinder+@laravel/vite-plugin-wayfinder) kurulu olmalı — paket frontend URL’leri için zorunlu - Giriş yapmış kullanıcı:
users.name= Shopify mağaza domaini (Odooshopify_domainile eşleşir) - Host’ta
verify.shopifymiddleware tanımlı olmalı (API route’ları bunu kullanır) App\Models\Userüzerinde Shopify GraphQL içinapi()->graph()olmalı (create/reply iletişim alanları)
Kurulum
Host .env:
HELPDESK_TEAM_ID ticket oluşturmak için zorunludur. HELPDESK_ODOO_COMPANY_ID virgülle ayrılmış company id listesidir (allowed_company_ids).
Config publish (opsiyonel):
Host app.blade.php (zorunlu)
Laravel Inertia scaffold genelde sayfa chunk’ını Vite ile preload eder:
Helpdesk sayfaları paket içinde (vendor/gurmehub/helpdesk/...) olduğu için bu path production manifest’te yoktur ve şu hatayı üretir:
Unable to locate file in Vite manifest: resources/js/pages/helpdesk/tickets/index.tsx
Sadece entry bırakın:
Sayfalar app.tsx içindeki import.meta.glob + resolveHelpdeskPage ile yüklenir. Host sayfaları bozulmaz; yalnızca erken page preload kalkar.
Host Inertia resolve
Paket resources/js/inertia.ts içinde kendi glob’unu taşır. Host app.tsx’e fallback ekleyin:
vite.config.ts değiştirmenize gerek yok (Wayfinder plugin zaten host’ta olmalı). Asıl zorunlu olan üstteki app.blade.php @vite düzeltmesidir.
Paket içinde ayrı bir tsconfig.json yoktur; Vite host projenin tsconfig.json dosyasını kullanır.
Kurulumdan sonra frontend’i build edin (npm run build veya npm run dev) — helpdesk sayfaları host Vite bundle’ına o zaman girer.
Wayfinder (frontend URL’leri)
Paket React sayfaları route URL’lerini controller’dan Inertia prop olarak almaz. URL’ler host Wayfinder ile üretilir:
Önemli: route env değişince yeniden build
HELPDESK_PREFIX, HELPDESK_ROUTE_TICKETS (veya config/helpdesk.php route ayarları) değişirse Wayfinder URL’leri build anındaki değerlere gömülür. Sadece .env değiştirmek frontend’deki linkleri güncellemez.
Değişiklikten sonra mutlaka:
(@laravel/vite-plugin-wayfinder build/dev sırasında wayfinder:generate çalıştırır.)
All versions of helpdesk with dependencies
illuminate/http Version ^11.0|^12.0
illuminate/routing Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
inertiajs/inertia-laravel Version ^2.0