'Notice', 'type' => 'placeholder', 'label' => new HtmlString( 'Use this extension to create contact and abuse reporting pages for your customers.

Need support? Join our Discord at https://discord.gg/DP3atuhnsB' ), ], ]; } catch (Exception $e) { return [ [ 'name' => 'Notice', 'type' => 'placeholder', 'label' => new HtmlString( 'You need to enable this extension before using it.

Need support? Join our Discord at https://discord.gg/DP3atuhnsB' ), ], ]; } } public function enabled() { Artisan::call('migrate', [ '--path' => 'extensions/Others/ContactPage/database/migrations', '--force' => true ]); } public function boot() { View::addNamespace('contactpage', __DIR__ . '/resources/views'); require __DIR__ . '/routes/web.php'; Livewire::component('contact.form', ContactForm::class); Livewire::component('abuse.form', AbuseForm::class); if (class_exists(\Filament\Filament::class)) { \Filament\Filament::registerResources([ ContactMessageResource::class, AbuseReportResource::class, ]); } } }