Browse AI Field GuideForum Podcast
All ThreadsLeaderboard
  1. Discussions

    1. Popular This Week
    2. Popular All Time
    3. Solved
    4. Unsolved
    5. No Replies Yet

Respect's avatar

wired problem with blaze - component not working

my laravel 13 livewire 4 app component <x-sidebars.sidebar-admin /> not working in my lazyout file when use blaze ( mast put the code direct inside layout file to wroking ) if disabled blaze component works note: always aim clear:view and clear:cache FULL CODE IS BELOW // app-blade.php <!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLoc

Respect's avatar
Respect's avatar Respect2mos agoLivewire
2
1
Last reply by Respect 2mos ago
TrvlMike's avatar

Building a Community-Driven Comic Book Database in Laravel

I have been building VerseDB (versedb.com) in Laravel for the past couple of years. It is a comic book database where users catalog collections, track pull lists, and contribute data through a community moderation system. I wanted to share some architectural decisions, what worked, and what I would do differently. The stack is Laravel 12 on PHP 8.5, deployed on Laravel Cloud wi

TrvlMike's avatar
TrvlMike's avatar quintinmor...2mos agoGeneral
2
1
Last reply by quintinmorrow 2mos ago
onurzdgn's avatar

Aptfile or Dockerfile

Hi everyone. I'm using DigitalOcean app platform and I need to mysqldump for backup. However I can't decide, which one is better for me? I don't know am I need anything in future but I need advice for now. The system will create the backup file than I will download or send mail. But first I need to choose Aptfile or DockerFile

onurzdgn's avatar
onurzdgn's avatar onurzdgn2mos agoDevOps
2
1
Last reply by onurzdgn 2mos ago
robdesilets's avatar

Invalid options object. Progress Plugin has been initialized using an options object that does not match the API schema.

Hi All, I am still using Laravel Mix and up until today it's been working. I updated to the latest today (I run "npm update" and "composer update" daily. Today I am getting this error when I am running "npm run production". Does anyone have any ideas what might be conflicting? ➜ application git:(main) npm run production production cross-env NODE_

robdesilets's avatar
robdesilets's avatar j021462mos agoMix
3
1
Last reply by j02146 2mos ago
Randy_Johnson's avatar

Laravel 13 InertiaJS No Tooltip Provider 🪳

Laravel, the tool tip provider is missing from sidebar.tsx. Relative path resources\js\components\ui\sidebar.tsx Bit missing <TooltipProvider delayDuration={0}> How the code looked on older version import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from "@/components/ui/tooltip" return ( <SidebarContext.Provider value={context

Randy_Johnson's avatar
Randy_Johnson's avatar Randy_John...2mos agoInertia
6
8
Last reply by Randy_Johnson 2mos ago
Graciela005's avatar

Pregunta!

¿Cómo se puede usar la tecnología de notificaciones automáticas (push o WhatsApp API)dentro del sistema para que los pacientes no olviden sus citas y confirmen su asistencia con un solo clic?

Graciela005's avatar
Graciela005's avatar martinbean2mos agoGeneral
2
2
Last reply by martinbean 2mos ago
maurits-leblo's avatar

Scheduler over UI

I want to build an scheduler that is managed in the Database and can be programmed by the user. The usecase will only be for SYS admins. With this I want to set cron expressions and add logging for each time it runs. Currently I've got this running trough 1 job that runs an Artisan command. This issues in many errors that are hard to reproduce/debug. Has anyone made an similar

maurits-leblo's avatar
maurits-leblo's avatar martinbean2mos agoLaravel
3
1
Last reply by martinbean 2mos ago
brunogritti's avatar

Slow page load in Inertia (Laravel) despite not having any data on DB yet (freshly deployed app), how to find the bottleneck?

Hey everyone, I’m working on an Inertia.js app with Laravel + Vue, and I’m seeing slow page transitions (~2–3 seconds) in production, while everything is fast locally. What’s interesting is that this happens even on a freshly deployed version with no meaningful data in the database. Environment: DigitalOcean droplet (Apache) CPU/memory usage stays below ~20% Same server runs o

brunogritti's avatar
brunogritti's avatar martinbean2mos agoInertia
6
14
Last reply by martinbean 2mos ago
Shibu0708's avatar

VueJs as separate Installation or use VueJs within Laravel

What we need to know, is whether to keep Vue JS as separate Installation or Use Within Laravel Installation.

Shibu0708's avatar
Shibu0708's avatar martinbean2mos agoLaravel
5
3
Last reply by martinbean 2mos ago
chipotlegroove's avatar

Changes in code (views, controllers, etc...) not reflected until dev server restart.

Hey all I've been having this very annoying issue: After some time working my views and logic just stop changing. I try logging and using dd a page with some error but nothing happens. After I restart the server dd/logging/any other change works but if I do additional changes I need to restart the server again. Oddly enough in the error page the code preview does show the upda

chipotlegroove's avatar
chipotlegroove's avatar chipotlegr...2mos agoLaravel
2
1
Last reply by chipotlegroove 2mos ago
Randy_Johnson's avatar

Laravel Auth Pages

Whats going on with laravel auth pages, why are they no longer wrapped with a layout?

Randy_Johnson's avatar
Randy_Johnson's avatar Randy_John...2mos agoLaravel
4
1
Last reply by Randy_Johnson 2mos ago
shadkamel's avatar

Laravel-PDF with Browsershot Exception on laravel forge

hello, i have used the spatie laravel pdf for generating an invoice that work with browsershot, every thing is working in locale and production (laravel forge), after an hour or maybe two, the pdf generator will crash on production, here is the error: The command "PATH=$PATH:/usr/local/bin NODE_PATH="/home/forge/sl-trucks.com/releases/67020047/node_modules" "

shadkamel's avatar
shadkamel's avatar imranbru2mos agoForge
7
9
Last reply by imranbru 2mos ago
tomarius's avatar

Blade::render() unlink error

I'm using Blande::render() to generate content for my emails: Blade::render(string: $body, data: $placeHolderData, deleteCachedView: true); but I'm getting a lot of errors like this because I use deleteCachedView: true: unlink(/var/www/html/storage/framework/views/456c7288c355db70f44f3fdca12cd0cd.blade.php): No such file or directory It works fine when I test it locally but onc

tomarius's avatar
tomarius's avatar megaezz2mos agoLaravel
7
1
Last reply by megaezz 2mos ago
M1chael30's avatar

Filament Import

Hello, can someone help me in filament importer I want to import not existing records for example I have teachers table and users tables. users column -> name, email, password teachers column -> employee_number, slug, hire_date

M1chael30's avatar
M1chael30's avatar imranbru2mos agoFilament
1
1
Last reply by imranbru 2mos ago
wim91's avatar

How to get a collection of the latest relationships with high nesting depth?

I created a category table recursively, meaning that in one table, subcategories reference the parent. This resulted in a high degree of nesting. A product belongs to a child category, and using a recursive method in the model, I retrieve all the nested relationships. I need to get a collection of the last relationship in the chain, but I'm getting "null." Could you t

wim91's avatar
wim91's avatar imranbru2mos agoLaravel
2
1
Last reply by imranbru 2mos ago
AxelG's avatar

Polymorphic resources in new JSON:API resources

I am trying to use the new JSON:API resource feature added in Laravel 13, but I don't see anything in the doc related to polymorphic relations. The doc about this feature is in the Eloquent section, and I understand that it is built on top on Eloquent, so why is there no mention of polymorphic relations? And more importantly, how can I make it work? Suppose I have an Inventory

AxelG's avatar
AxelG's avatar AxelG2mos agoLaravel
5
6
Last reply by AxelG 2mos ago
imrandevbd's avatar

Intervention Image v4 - "Call to undefined method Intervention\Image\ImageManager::read()" – What is the correct way now?

Hi everyone, I'm facing a frustrating issue after upgrading to the latest Intervention Image v4 (with intervention/image-laravel package). I keep getting this error: Call to undefined method Intervention\Image\ImageManager::read() I was using the Laravel facade like this: use Intervention\Image\Laravel\Facades\Image; $image = Image::read($uploadedFile); But it doesn't work.

imrandevbd's avatar
imrandevbd's avatar Jsanwo642mos agoLaravel
4
252
Last reply by Jsanwo64 2mos ago
imrandevbd's avatar

Using WordPress as a Headless Backend with Next.js Frontend

Hi everyone, I’m planning to convert an old WordPress site into a faster, modern setup using Next.js as the frontend while keeping WordPress as the backend (headless CMS). Here’s the architecture I have in mind: Main domain will serve the Next.js frontend WordPress will be installed on a subdomain (e.g., api.example.com) I’ll create custom API endpoints in WordPress (REST API)

imrandevbd's avatar
imrandevbd's avatar imranbru2mos agoPHP
3
13
Last reply by imranbru 2mos ago
aymanmsh's avatar

Difference between Use Case, Action, and Application Service in DDD

I’m currently learning Domain-Driven Design (DDD) and trying to properly structure the Application Layer in a Laravel-based project. I keep seeing different terms used, sometimes interchangeably, such as: Use Case Action Application Service From my understanding, they all seem to represent “application logic” that orchestrates domain behavior, but I’m struggling to clearly di

aymanmsh's avatar
aymanmsh's avatar martinbean2mos agoAI
3
2,139
Last reply by martinbean 2mos ago
Chron's avatar

Is the session not expiring in tests?

I tried having this simple test public function test_if_session_has_expired(): void { $user = User::factory()->create(['type' => 'admin']); $this->actingAs($user); $loggedInResponse = $this->get(route('dashboard')); $loggedInResponse->assertOk(); // SESSION_LIFETIME=3 $this->travel(500)->minutes(); $rel

Chron's avatar
Chron's avatar imranbru2mos agoTesting
2
2
Last reply by imranbru 2mos ago
wim91's avatar

How to group products by parent category with unlimited descendants?

Hello everyone. I have a category table where each parent category has an unlimited number of children. Products can only appear in the very last child category. How can I group products by parent category?

wim91's avatar
wim91's avatar vincent150...2mos agoEloquent
1
1
Last reply by vincent15000 2mos ago
vincent15000's avatar

How to check if SSR is used ?

Hello, How is it possible to check if SSR works fine in dev mode ? The documentation says that if running in dev mode (composer run dev), it's not necessary to execute php artisan inertia:start-ssr, it's handled automatically by ViteJS. How is it possible to check if the pages are really rendered by the backend ?

vincent15000's avatar
vincent15000's avatar JussiManni...2mos agoInertia
2
5
Last reply by JussiMannisto 2mos ago
melx's avatar

Convert number(Amount) to words

how to i convert sum amount in to word as per below function $Cash_Sales=CashSales::with('customer_credit','items','store','supplier') ->select('vch_no','cash_c_id','l_type','created_at',DB::raw('sum(amount) as totalM')) ->where('l_type', 'cash_sale') ->groupby('vch_no','l_type','cash_c_id','created_at') ->get(); i want to d

melx's avatar
melx's avatar vincent150...2mos agoLaravel
2
1
Last reply by vincent15000 2mos ago
kevinbui's avatar

Save My Video Speed Preferences

Hi @JeffreyWay. I typically watch the videos at 1.2x or 1.5x speed. But any time I move on to a new video, my video speed is back to 1.0x. Can we preserve the preferences for our video speeds? We had this feature before, and have been losing it for quite while. Cheers,

kevinbui's avatar
kevinbui's avatar LaryAI2mos agoFeedback
1
1
Last reply by LaryAI 2mos ago
Armanhozyn's avatar

Is it worth it to learn all the courses and coding when AI can make the production level application

Wait I am not taking about like AI would solve a code problem or fix it. I am talking according to business, If I code an application humanly, Its gonna take too much time, When a non coder who mabe barely knows coding but he Understands how the application works, He make the whole production level application without coding a single line. So here is my question, Is it worth it

Armanhozyn's avatar
Armanhozyn's avatar kevinbui2mos agoAI
14
15
Last reply by kevinbui 2mos ago

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.

Want us to email you occasionally with Laracasts news?

Nine out of ten doctors recommend Laracasts over competing brands. Come inside, see for yourself, and massively level up your development skills in the process.

Learn
BrowseSeriesCreatorSeriesLaravel PathLarabitsPlayground
Discuss
ForumPodcastSupport
Extras
Gift CertificatesApparelFAQiOS AppTerms
Social
X(Twitter)TikTokYoutube

© Laracasts 2026. All rights reserved. Yes, all of them. That means you, Todd.

Proudly hosted with Laravel Forge and DigitalOcean.