PHP code example of zynqa / filament-jira-feedback
1. Go to this page and download the library: Download zynqa/filament-jira-feedback library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
zynqa / filament-jira-feedback example snippets
use Zynqa\FilamentJiraFeedback\Actions\SubmitFeedbackAction;
protected function getHeaderActions(): array
{
return [
SubmitFeedbackAction::make(),
];
}
use Filament\View\PanelsRenderHook;
use Illuminate\Support\Facades\Blade;
->renderHook(
PanelsRenderHook::CONTENT_START, // or any other hook
fn (): string => Blade::render('@livewire(\'filament-jira-feedback-banner-widget\')')
)
'issue' => [
'type_descriptions' => [
'Bug' => 'Report a software defect or error',
'Task' => 'Request a general task or work item',
'Story' => 'Request a new feature or enhancement',
],
],