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

DavidSprauel's avatar

Vue 3 TreeSelect

Hello, i'm using this package https://github.com/megafetis/vue3-treeselect for a Tree Select component, and it works like a charm in a front point of view, but it spam my console with warning which I can't get rid of. I would have like to post an issue in the package github but it isn't supported anymore. To be fair, I know I should be looking for another package, but i've been

DavidSprauel's avatar
DavidSprauel's avatar agb16mos agoVue
4
13
Last reply by agb1 6mos ago
AtlasApollo's avatar

Shai-hulud 2.0 and dev/prod environments

Hi, I have a Laravel/Vue SaaS and just got a new dev machine. I wanted to set up the environment, but was concerned about Shai-hulud 2, and 3 and so on: From https://www.darkreading.com/cyberattacks-data-breaches/shai-hulud-variant-cloud-ecosystem: "...the new variant "also automatically backdoors every npm package maintained by the victim, republishing them with mali

AtlasApollo's avatar
AtlasApollo's avatar LaryAl6mos agoGeneral
3
8
Last reply by LaryAl 6mos ago
Jarhakoz's avatar

Slot in persistent Inertia layout

I'm following the guide in https://inertiajs.com/pages#persistent-layouts And I'v placed a named slot in one of the layout components, <TopBar> And I'm then trying to use that named slot from the Inertia page component, but the problem is that the page component does not import the layout, hence it's persistent. Now how does one use the slot int the (parent) layout compon

Jarhakoz's avatar
Jarhakoz's avatar Shivamyada...6mos agoInertia
8
7
Last reply by Shivamyadav 6mos ago
woweya's avatar

Using $this when not in object context (Script JS)

Hello to everyone, when in my PHP Blade View I use: @script <script> </script> @endscript It returns an Exception which is: "Using $this when not in object context" Why is that? My controller doesn't have even anything inside other than the render method and the mount method.

woweya's avatar
woweya's avatar kevintherm6mos agoLivewire
14
1
Last reply by kevintherm 6mos ago
vincent15000's avatar

Discussion around Livewire / VueJS vs htmx

Hello, I know Livewire and VueJS quite well, but I don't know htmx (just some quick tries). I wonder ... if I have an application in which only one or two pages are really complex, is it worth using Livewire or VueJS for these pages ? or is it better to use htmx ? I have seen that htmx seems to be very light beside of Livewire or VueJS. Who has already used htmx ? Is it a good

vincent15000's avatar
vincent15000's avatar Snapey6mos agoGeneral
4
4
Last reply by Snapey 6mos ago
Ligonsker's avatar

Translation of capitalized and non-capitalized English word

Hi, using the JSON translation, I currently have to have separate keys for capitalized and non-capitalized words, for example: "addresses": "<some translation>", "Addresses": "<same translation as above>" but in the language I want to translate there is no such thing as capitalization.. so I currently have to manually add b

Ligonsker's avatar
Ligonsker's avatar Glukinho6mos agoGeneral
2
1
Last reply by Glukinho 6mos ago
earmsby's avatar

file upload field on Filament form

This is a combination Filament and server/php question. I have a file upload field on a Filament form with this set up: FileUpload::make('pdf_file') ->disk('public') ->directory('music_pdfs') ->maxSize(20000) ->visibility('public'), In the PHP ini file on

earmsby's avatar
earmsby's avatar earmsby6mos agoFilament
4
5
Last reply by earmsby 6mos ago
zYxNiRV's avatar

Seeking Practical Project Ideas to Enhance Laravel Skills After Completing 30 Days Tutorial

Hello Laravel Community! I’ve recently completed the 30 Days of Laravel tutorial, and it was an amazing learning experience. Now that I feel more comfortable with the basics, I’m eager to level up my skills and apply my knowledge in a real-world project. I’m looking for some interesting project ideas that could help me improve my Laravel proficiency, especially in areas like: A

zYxNiRV's avatar
zYxNiRV's avatar LaryAI6mos agoGeneral
1
45
Last reply by LaryAI 6mos ago
chad-orases's avatar

Training Not Loading

Is anyone having have an issue with the videos not loading?

chad-orases's avatar
chad-orases's avatar sean20256mos agoGeneral
3
1
Last reply by sean2025 6mos ago
ravasaurio's avatar

Deciding what item remains in a collection after unique method is applied

I have a test model and a question model, with a many to many relationship. I am making a method that combines n tests. It takes all the questions in all the tests and creates a new test using the questions on the tests, removing duplicates. $questions = $questions->unique('id')->sortBy('id'); But I can not simply use the ID. See, each question has a tag field, which I am

ravasaurio's avatar
ravasaurio's avatar pilat6mos agoLaravel
9
3
Last reply by pilat 6mos ago
TarikAli's avatar

get user in multi guards same route

Hello, i have these routes Route::group([ 'prefix' => LaravelLocalization::setLocale(), 'middleware' => ['localeSessionRedirect', 'localizationRedirect', 'localeViewPath'] ], function () { Route::group([ 'prefix' => 'shared', 'as' => 'shared.', 'middleware' => ['auth:admin,teacher'], ],

TarikAli's avatar
TarikAli's avatar martinbean6mos agoLaravel
4
2
Last reply by martinbean 6mos ago
earmsby's avatar

connect to Forge DB from remote website

I have a php site set up on Forge (not Laravel). Another related site on a different server needs to access the database for my Forge site. I researched how to do this a while ago but now I can not find the location where I had found a way to do it. I did search the Forge documentation and got as far as setting up firewall rule for the remote site. But there must be more to it

earmsby's avatar
earmsby's avatar martinbean6mos agoForge
3
7
Last reply by martinbean 6mos ago
Ligonsker's avatar

How do I add a JS script file to my blade with Vite?

Hi I created a file at /resources/js/my-script.js I'm completely new to Vite, how can I make this file work on one of my Blade files? Do I first need to add it to the main app.js somehow and rebuild and then it will be visible? But how exactly? ** Update: I made it work by importing the JS file inside the app.js: import './my-script.js'; But does it mean I have to import each

Ligonsker's avatar
Ligonsker's avatar martinbean6mos agoVite
2
6
Last reply by martinbean 6mos ago
BGoole's avatar

How to prevent/disable the back button on a browser using Laravel

I built an order system for a tablet. Because it's a web app (Laravel Breeze), I'm worried that if users press the back button—on the OS or browser—it could crash the system. How do i prevent/disable the browsers backbutton and the Tablet back button.

BGoole's avatar
BGoole's avatar martinbean6mos agoLaravel
2
4
Last reply by martinbean 6mos ago
hunterhawley-45374036's avatar

What's the deal with Livewire and CSRF?

Hey there! I recently spun up a new Laravel v12.4.1 app with Livewire v3.6.2 and am having trouble with 419 errors when using wire:click on a button. I have a resources/views/thing-recorder/show.blade.php file that imports a layout found at resources/views/components/layouts/thing-recorder.blade.php. In the layout, I have the following in my <head>: <meta name="cs

hunterhawley-45374036's avatar
hunterhawley-45374036's avatar Darkdawg6mos agoLivewire
13
1
Last reply by Darkdawg 6mos ago
Darkdawg's avatar

Change default auth redirect url for starter kit?

I'm using the Laravel 12 Livewire starter kit. I wanted to change the dashboard name to something else, but I see the auth redirect url is hardcoded to look for dashboard and home somewhere deep in the framework. So if I visit /login after already being authenticated, it redirects me to /dashboard, and if I change the dashboard route and name it takes me to the front page inste

Darkdawg's avatar
Darkdawg's avatar sheilong6mos agoLaravel
4
279
Last reply by sheilong 6mos ago
laracoft's avatar

Replacing a middleware in L11's bootstrap/app.php

I have some customization in L10's Http/Kernel.php, and now need to convert to L11's bootstrap/app.php because a package requires it How do I replace the middleware 'auth' with another class in L11's app.php syntax?

laracoft's avatar
laracoft's avatar laracoft6mos agoLaravel
1
25
bisonbrah's avatar

Sage (Roots) WordPress Dev Transitioning Into Laravel - Course Recommendations?

Hey everyone, I’m a long-time WordPress developer working heavily with the Sage framework (Roots ecosystem, Blade, Composer, MVC-ish patterns, etc.), and I’m starting to move deeper into Laravel. Since a lot of Sage’s conventions mirror Laravel, I’m looking for guidance on the most effective Laracasts course progression for someone coming from that background. If anyone here ha

bisonbrah's avatar
bisonbrah's avatar LaryAI6mos agoGeneral
1
1
Last reply by LaryAI 6mos ago
Rumnaz khan's avatar

Laravel date field automatically changes to today's date

so, I have this production schedule table: product | date | forecasted | real | created_at | updated_at when updating, only the 'real' field needs to be updated. so , in my view I have: <div class="row"> <input type="hidden" name="ps_id"> // i have rendered this data through js <div class="col-m

Rumnaz khan's avatar
Rumnaz khan's avatar arozhnov6mos agoLaravel
4
1
Last reply by arozhnov 6mos ago
lucian.mihalache's avatar

Laravel 9 mutators for custom attributes

Hello world I am trying to make use of laravel 9's way of doing accessors and mutators but I am having an issue. I have some columns in the database that are very badly named (like FirstN, Adr, CPost) [And no, unfortunately I cannot change the columns]. I want to make some accessors and mutators for these columns that are named right. So I came up with something like this:

lucian.mihalache's avatar
lucian.mihalache's avatar Artwork6mos agoEloquent
4
9
Last reply by Artwork 6mos ago
lookdee's avatar

Laravel Cloud IP Addresses

Does anyone know where Laravel is showing us which IP addresses our apps might be running from? I have a couple of integrations that require white listed IPs, but can't find anywhere on Laravel Cloud side which IP addresses are currently in the pool.

lookdee's avatar
lookdee's avatar ranamoizha...6mos agoLaravel
3
2
Last reply by ranamoizhaider 6mos ago
vitnasinec's avatar

FluxUi modal + lightbox

Hello, I have FluxUi modal which displays some image thumbnails. I want to open full sized images in lightbox. Problem is most lightbox plugins add its code to the end of body, outside of the modal code. The modal uses dialog element and always overlays the lightbox. I havent found a way to overlay the dialog. When I force the lightbox to generate its code inside the dialog the

vitnasinec's avatar
vitnasinec's avatar LaryAI6mos agoGeneral
1
1
Last reply by LaryAI 6mos ago
ibrahim-elshorbagy's avatar

Laravel React Inertia | when client open it from browser history it open JSON return not a component

i have problem with all Inertia Projects when the user open the page from his browser history it open a JSON not a react page how can i prevent this i have "dependencies": { "@inertiajs/react": "^2.0.12", "axios": "^1.10.0", "react": "^19.1.0", "react-dom": "^19.1.0", "swiper": &

ibrahim-elshorbagy's avatar
ibrahim-elshorbagy's avatar JussiManni...6mos agoInertia
4
1
Last reply by JussiMannisto 6mos ago
somenet77's avatar

Horizon trigger max timeout.

I have currently cloned my old app to the new Laravel VPS cloud. But there is an issue with Laravel Horizon in the new Laravel VPS . The horizon run in the older server still works perfectly, but it doesn't work in the new cloned server. I get either Illuminate\Queue\TimeoutExceededException or Illuminate\Queue\MaxAttemptsExceededException error.

somenet77's avatar
somenet77's avatar somenet776mos agoForge
2
2
Last reply by somenet77 6mos ago
Developer654079525's avatar

Updating strategies

Should I regularly update the framework using composer update? I also have composer on the hosting account.

Developer654079525's avatar
Developer654079525's avatar JussiManni...6mos agoLaravel
6
1
Last reply by JussiMannisto 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.