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

skoobi's avatar

Filament 403 in production!

I don't know how many times I've had this issue, but I'm trying again to push to production and I know you need to add the canAccessPanel which I have and it still wont let me in! Its an app that can accept any email address so I don't care about who can access the panel. Heres my code: public function canAccessPanel(Panel $panel): bool { return true; //

skoobi's avatar
skoobi's avatar Dikewonsi-...6mos agoFilament
6
5
Last reply by Dikewonsi-91637528 6mos ago
stackprogramer's avatar

I whish Laracast had a job channel for job seekers

Hi, Laracast is a great forum for asking and answering Laravel Questions. I think if it had a Job channel for discussing people(exact like other forums) it can help Laravel developers communicate easily. Do you think is it possible ? Thanks in advance.

stackprogramer's avatar
stackprogramer's avatar stackprogr...6mos agoFeedback
2
5
Last reply by stackprogramer 6mos ago
the_lar's avatar

Seeking help with React app

Hi all, I'm pretty new to React and have hit a wall with something I'm trying to build, can anyone help? I've mocked up what I'm trying to do here - https://codesandbox.io/p/sandbox/blazing-firefly-vvfsrf The app will (eventually) display products in groups of x set by the PAGE_SIZE constant in Wheels.tsx. App.js sets up 4 different sort orders for the products, default, price

the_lar's avatar
the_lar's avatar JakeMiller6mos agoReact
2
2
Last reply by JakeMiller 6mos ago
Nonesuch's avatar

Three Way Pivot Table - Best Practice?

I was wondering if this is the right approach to take when dealing with a sports scenario where throughout the year, there will be several leagues, and the team that the player is playing for is on a per league basis. So for instance player 1 could be playing for team 5 in league 1, however, in league 2 the same player 1 might play for team 4 instead. What is the best way to ha

Nonesuch's avatar
Nonesuch's avatar lbecket6mos agoLaravel
4
1
Last reply by lbecket 6mos ago
arkid's avatar

Tailwind 4 and Laravel not processing my CSS file

I started my first project with Tailwind some days ago and have now wasted soooo many hours trying to get vite to process my main CSS file but it just doesn't work. I know that there is a lot of conflicting info online about configuring TailWind v4 and I'm just lost in the swamp of tips, both on laracasts, other forums, official Tailwind docs and AI responses. To confirm, somet

arkid's avatar
arkid's avatar Snapey6mos agoVite
3
17
Last reply by Snapey 6mos ago
amitRoy1999's avatar

Config for max concurrency for a singel job

I am using Laravel 11 with Horizon and a Redis queue. I have a job that runs daily — I dispatch 500 instances of this job for 500 numbers. The job calls an external API and updates my database; it takes 10–20 minutes depending on the API response. I want to know if there’s a simple configuration available where I can define, by job name, that only 100 concurrent instances of a

amitRoy1999's avatar
amitRoy1999's avatar Glukinho6mos agoLaravel
6
1
Last reply by Glukinho 6mos ago
donatello's avatar

Errors with puppeteer while setting up Browsershot for blade->PDF download

0 I have a laravel 10 app. In my index.blade.php I have list of workers, each of whom has a separate view page, in index.blade.php I have a print button, which on click should print the pdf version of the separate blade view page of the worker. Since dompdf doesn't support Arabic, flexbox etc. I thought of using browsershot by spatie. I followed instructions as per documenation

donatello's avatar
donatello's avatar 3xc-cchadw...6mos agoLaravel
7
2
Last reply by 3xc-cchadwick 6mos ago
OPTesseract's avatar

Laravel 6.x site not showing

I have a Laravel site that I recently transitioned over from being hosted by Wordpress. I am now using Bluehost for hosting, which is using pHp 8.2. I regenerated the vendor folder but am still seeing the file index when I go to my site url. What are the most common fixes for this?

OPTesseract's avatar
OPTesseract's avatar JussiManni...6mos agoLaravel
2
1
Last reply by JussiMannisto 6mos ago
AntV's avatar

Status of Cache Tags in laravel 12

I've noticed that after two versions of it being absent from the documentation, Cache tags reappeared. I tried searching to whether that means that the/most/some issues have been fixed but I did not find anything. The way it is written with no warning (other than it won't work on most drivers) makes me hopeful that it only means that they should work as intended. Has anyone any

AntV's avatar
AntV's avatar ian_h6mos agoLaravel
11
670
Last reply by ian_h 6mos ago
maikeltweak's avatar

Dynamically rendering components in livewire

Hey guys, Im working on a stepper component that renders different component based on the current step. I came up with the following test scenario, but its not working and i don't understand why: <?php namespace App\Http\Livewire; use Livewire\Component; class ParentTest extends Component { public $component_name; protected $listeners = ['setChild']; public

maikeltweak's avatar
maikeltweak's avatar kingsleyuc...6mos agoLivewire
9
16
Last reply by kingsleyuchenna 6mos ago
laracoft's avatar

How to create missing `bootstrap/providers.php`?

I just learnt about bootstrap/providers.php here https://laravel.com/docs/12.x/providers My Laravel 5 project was upgraded over the years to L12 now, but I don't see it. Who is suppose to create it? Developer or Laravel? If there are differences with config/app.php, who is the single source of truth?

laracoft's avatar
laracoft's avatar martinbean6mos agoLaravel
4
51
Last reply by martinbean 6mos ago
Shivamyadav's avatar

When will the laracasts black friday will arrive?

@JeffreyWay I am super excited to watch the laravel-workshop series. So waiting for the black friday deal to activate the subscription.

Shivamyadav's avatar
Shivamyadav's avatar Shivamyada...6mos agoGeneral
9
1
Last reply by Shivamyadav 6mos ago
june23's avatar

Show me your Github Profiles :)

Hi, to all the professional Laravel coders on laracasts.com :) Can you show me your Github Profiles with maybe a few of your side projects you have going on right now? That would be awesome :)

june23's avatar
june23's avatar june236mos agoLaravel
2
1
Last reply by june23 6mos ago
menashe's avatar

Return Object rather than Array of stdout

I use the following code to return an Eloquent ORM, including the latest price per item. $purchases = Purchase::with([ 'packaging', 'packaging.item', 'packaging.item.manufacturer', 'packaging.item.brand', 'packaging.unit', 'packaging.price' => function ($query) use ($shopping_date) { $query->select(DB::raw('

menashe's avatar
menashe's avatar krisi_gjik...6mos agoEloquent
3
1
Last reply by krisi_gjika 6mos ago
andrews-quest's avatar

Vite: Error generating types

Hi, when building with Vite I get the following message: error during build: [@laravel/vite-plugin-wayfinder] [plugin @laravel/vite-plugin-wayfinder] Error generating types: Error: Command failed: php artisan wayfinder:generate --with-form And that's only at the dev server. When I try the same on the release, everything runs smooth. I've tried comparing the composer.lock files

andrews-quest's avatar
andrews-quest's avatar faizH36mos agoVite
2
5
Last reply by faizH3 6mos ago
starrover's avatar

Livewire Navigate to use replaceState instead of pushState

Is there any way to replace state when navigate? Currently, it always push state. For example, if I call $this->redirect('/dashboard', navigate:true) after submitting a form, I want to make users not able to go back to the form by hitting the browser back button like when we use Javascript window.location.replace(). The solution from the A.I might work, but it doesn't actual

starrover's avatar
starrover's avatar maytham5536mos agoLivewire
2
1
Last reply by maytham553 6mos ago
oliver-modernmc's avatar

How to render livewire child components on the fly?

I have multiple livewire component wrapped insisde the if condition. I am able to load the initial page however the page just crashes whenever I go to the next step. <div class="flex flex-col gap-4 min-h-0" wire:key="questionnaire-step-{{ $step }}"> @if ($step == 1) <livewire:questionnaires.step1 wire:key="q-step1" /> @e

oliver-modernmc's avatar
oliver-modernmc's avatar valentin_v...6mos agoLivewire
7
12
Last reply by valentin_vranic 6mos ago
VSTeamParadoxical's avatar

Package Discovery/loading order

I have two custom package for laravel, I am using laravel11. is it possible to control the order in which these packages are discovered/loaded?

VSTeamParadoxical's avatar
VSTeamParadoxical's avatar laracoft6mos agoLaravel
9
5
Last reply by laracoft 6mos ago
fakeman2332's avatar

CSRF Token mismatch

Hi! I use NextJS and Laravel with cookie-based authorization (session). (Yes, it probably sounds crazy.) I am sending a request to /csrf-cookie endpoint, which responds successfully. But the POST request fails and returns a CSRF-token error. Im using this function: await axios.get(RETRIEVE_XSRF_TOKEN_URI).then(async csrf => { await axios.post(API_BASE_URI + '/discord/unl

fakeman2332's avatar
fakeman2332's avatar shaneomac6mos agoLaravel
9
8
Last reply by shaneomac 6mos ago
kajol's avatar

How I Structure Laravel APIs for Android Apps (Versioning, Auth, Queues, Performance & Multi-Tenant Setup)

Over the past few years I’ve been building Android apps paired with Laravel backends, and I kept running into the same problems: breaking older app versions because I changed an API inconsistent response formats heavy logic inside controllers causing UI delays background tasks slowing down mobile requests auth flows that worked in Postman but failed on real devices rate limiti

kajol's avatar
kajol's avatar jlrdw6mos agoDevOps
2
1
Last reply by jlrdw 6mos ago
ahmedde's avatar

Production-ready Docker configuration for Laravel?

Hi, I'm a beginner at Docker, and was looking if there was a ready-made configuration for Laravel using Docker. Being paid is totally ok. I'm looking for something resilient and tested that covers all the processes that comes with Laravel (Composer, Octane, Queues, Horizon, Cron, Reverb, Scout, etc). This configuration will be used later with Kubernetes for running horizontal s

ahmedde's avatar
ahmedde's avatar vincent150...6mos agoDevOps
1
3
Last reply by vincent15000 6mos ago
bjenkins24's avatar

$this->partialMock doesn't call the constructor?

I guess this is how partialMock works? But to me it seems to be useless now. There's a method I want to mock in a class, but the constructor has to be called or everything will fail. But for some reason it's not getting called? I don't see that in the docs and Google is not helping, which makes me think either I'm doing something very wrong or misunderstanding something very si

bjenkins24's avatar
bjenkins24's avatar vitorjusti...6mos agoTesting
7
24
Last reply by vitorjustin 6mos ago
Glukinho's avatar

Thread can't be seen while replying from mobile

Hi, I can't see a thread I'm replying to while replying from mobile - reply area takes all screen (see the screenshot). It's quite inconvenient as I often want to see original thread or quote something from it. I remember it was different few months ago, before last changes - reply area occupied about half of screen and a thread was seen in other half. It would be nice to have

Glukinho's avatar
Glukinho's avatar Glukinho6mos agoFeedback
0
1
wim91's avatar

Is it possible to track when a user has completed downloading a file using download()?

Is there a way to track when a user has completed a file upload? I want to rename the file after the upload is complete. Is there a way? I couldn't find one.

wim91's avatar
wim91's avatar martinbean6mos agoLaravel
3
1
Last reply by martinbean 6mos ago
Rens559's avatar

my mail wont send within the execution time

i am trying to send a mail using gmail but it doest work it's not sending within the execution time i have this in my env file MAIL_MAILER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERNAME= my personal email MAIL_PASSWORD= my app password MAIL_FROM_ADDRESS=my personal email MAIL_FROM_NAME="${APP_NAME}" this is my mailable use App\Models\Order; class orderplace

Rens559's avatar
Rens559's avatar Rens5596mos agoLaravel
4
1
Last reply by Rens559 6mos 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.