Advanced Guides

Filament Dashboards

Note: Filament installed separately

If you have not already installed Filament, please follow the Filament Installation Guide before proceeding.

However, Filament is not required to use Conduit!

Conduit provides the following:

Widgets

  • Overview Widget for new Orders - with a comparison of this month's Orders to last month's with a line chart for the last 6 months of created Orders.
  • Overview Widget for Sales - with a comparison of this month's sales to last month's with a line chart for the last 6 months of Sales.
  • Overview Widget for Accounts - with a comparison of this month's User and Guest account to last month's with a line chart for the last 6 months of created accounts.
  • Subscription Status pie chart - see the current status of all user and guest subscriptions in a pie chart grouped by status.
  • Cart Status pie chart - see the current status of all user and guest carts in a pie chart grouped by status.
  • Cart Item graph - see all currently added, but not checked out, cart items in a bar graph grouped by product.

Resources

  • Orders - view all created orders, their totals and transaction details, and all items in the order.
  • Subscriptions - view all subscriptions, their status, which user/guest, and the transaction details.
  • Carts - view all carts, their status, and which products are in the cart.
  • Products - view all Products and Prices from your payment provider.

Installation

You can include Conduit's provided Filament widgets and Resources into your Filament Admin panel by adding the following:

1publicfunctionpanel(Panel $panel):Panel
2{
3return $panel
4->default()
5->login()
6->discoverPages(in: app_path('Filament/Pages'), for: 'App\\Filament\\Pages')
7->discoverWidgets(in: app_path('Filament/Widgets'), for: 'App\\Filament\\Widgets')
8->discoverResources(in: app_path('Filament/Resources'), for: 'App\\Filament\\Resources')
9->discoverPages(in: base_path('vendor/mergeloop/conduit/src/Filament/Pages'), for: 'Mergeloop\\Conduit\\Filament\\Pages')
10->discoverWidgets(in: base_path('vendor/mergeloop/conduit/src/Filament/Widgets'), for: 'Mergeloop\\Conduit\\Filament\\Widgets')
11->discoverResources(in: base_path('vendor/mergeloop/conduit/src/Filament/Resources'), for: 'Mergeloop\\Conduit\\Filament\\Resources')
12->resources([
13// ...
14 ])
15->middleware([
16EncryptCookies::class,
17AddQueuedCookiesToResponse::class,
18StartSession::class,
19AuthenticateSession::class,
20ShareErrorsFromSession::class,
21VerifyCsrfToken::class,
22SubstituteBindings::class,
23DisableBladeIconComponents::class,
24DispatchServingFilamentEvent::class,
25 ])
26->authMiddleware([
27Authenticate::class,
28 ]);
29}
Autoload

If you have Mergeloop's "Autoload" package installed, Conduit's Filament resources will be automatically be discovered and auto-loaded into your Filament Admin panel.

Previous
Overriding Components
Code highlighting provided by Torchlight