PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

Custom Bread with Controller

lucas-ansalone

Oct 26th, 2018 12:26 PM

Hello, i have created a new BREAD called Sells, the thing is , i dont want to use my db, i need to show everything from an external API, so i need a custom controller for this, now i need to know how to use a controller extending the current created view.

I have created inside HTTP/CONTROLLERS/SELLS/SellsController.php in this way:

bobbyiliev

Jan 4th, 2023 12:50 AM

Hi there,

I am just following up on some of the old unanswered questions on the site in case anyone comes across them in the future.

You can use a customer controller for your Voyager BREAD by following the steps here:

Voyager: Using custom Controllers

Best,

Bobby