© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago
daar

Show blade page security + integrate into filament panel

I've integrated a simple invoicing feature into my app (see the web route below). I'd love to get insights from experts on two points:

1. Is the
auth
auth
middleware I've applied sufficient to secure this route?
2. I've been trying to link a blade view with Filament. However, using a
ViewField
ViewField
, seems to disrupt the layout by moving the navigation sidebar and top bar drastically. I believe this is likely due to a CSS issue. If I aim to integrate this into Filament, is there a way to separate the CSS within the blade view itself (and not interfere with the filament CSS classes), or are there tools available that can help?

Route::get('/emr/invoice', function (Request $request) {

    $invoice = Invoice::find($request->id);
    $items = $invoice->payments;

    return view('invoices.default', compact('invoice', 'items'));
})
    ->name('/emr/invoice')
    ->middleware('auth');
Route::get('/emr/invoice', function (Request $request) {

    $invoice = Invoice::find($request->id);
    $items = $invoice->payments;

    return view('invoices.default', compact('invoice', 'items'));
})
    ->name('/emr/invoice')
    ->middleware('auth');
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Filament blade components on a non-panel page
FilamentFFilament / ❓┊help
13mo ago
hello i have filament blade <x-filament-panels::page> </x-filament-panels::page>
FilamentFFilament / ❓┊help
3y ago
Custom page with filament blade component
FilamentFFilament / ❓┊help
3y ago
Struggling to Integrate Tailwind CSS into Blade Views
FilamentFFilament / ❓┊help
2y ago