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

thetestcoder's avatar

We migrated self hosted redis to Valkey 8.1 serverless aws elasticache.

Hi All, Old AWS EC2 for application servers AWS EC2 for horizon server AWS EC2 for self hosted Redis New AWS EC2 for application servers with ASG AWS EC2 for horizon server Valkey Serverless Cluster Mode Recently we moved self hosted redis 7.2 to valkey 8.1 culster mode. We update all configuration for slot and all. but as we are running bulk cmapaign before migration the h

thetestcoder's avatar
thetestcoder's avatar thetestcod...3mos agoLaravel
0
1
Yasm23's avatar

What should I do

Hello, I got an internship at a company for 3 months working with Laravel. After that, they will give me a task from a real project they have. The problem is that I spent two months learning topics without a specific order, and I realized that I have weak points in PHP. I also feel that the way Jeffrey Way explains things is special and very helpful. Do I still have time to res

Yasm23's avatar
Yasm23's avatar Randy_John...3mos agoGeneral
1
1
Last reply by Randy_Johnson 3mos ago
earmsby's avatar

Filament importer

I am banging my head trying to figure what the problem is with my importer. I have a csv file like this: "contract_description","default_copyright_holder","contract_type","date_executed" "Contract 1","Subito Music Corp.","Publishing","11/14/18" "Contract 2","Subito Music Corp.",&

earmsby's avatar
earmsby's avatar earmsby3mos agoFilament
2
1
Last reply by earmsby 3mos ago
Darkdawg's avatar

Livewire #Modelable not working with v4 SFC?

Hey! I created a SFC for a Flux:select, using the Modelable attribute. However, when triggering a save from the parent component the value isn't grabbed from the child. I'm using wire:model without any modifiers. Changing to wire:model.live works, but I don't want the redundant requests. This works with the old class based components, so I'm wondering if this is a bug?

Darkdawg's avatar
Darkdawg's avatar Darkdawg3mos agoLivewire
0
1
yumna12-coder's avatar

Technical problem

Why can't I watch the lessons? There's only a black screen for all the courses.

yumna12-coder's avatar
yumna12-coder's avatar LaryAI3mos agoGeneral
1
1
Last reply by LaryAI 3mos ago
ATOM-Group's avatar

"Can" middleware and route resources?

I was reading through the documentation for Authorization using Gates and Policies, and while you can do things like this: Route::put('/post/{post}', function (Post $post) { // The current user may update the post... })->middleware('can:update,post'); You can't seem to do something like this: Route::resource('post', PostController::class)->middleware('can'); I'v

ATOM-Group's avatar
ATOM-Group's avatar RomainB3mos agoLaravel
6
2
Last reply by RomainB 3mos ago
Sofia's avatar

Can validation be stopped on specific failures?

I know that there's the $stopOnFirstFailure flag that will stop validation when the first validation error occurs, but I'm looking for the ability to stop validation when specific attribute validation fails. It's not bail which will stop validating the remaining rules on that attribute, not the remaining attributes. For example: The following fields get submitted: type name e

Sofia's avatar
Sofia's avatar Snapey4mos agoLaravel
9
56
Last reply by Snapey 4mos ago
shez1983's avatar

relationship with a pivot table have a hard time querying

so originally i had a simple Company belongs to country, company has many referrals. then in my INdex, i was displaying one referral per company (based on some criteria) Now what i want to do is company can belong to many countries. (Ie global/multi national).. so i have added company_country table .. and the referrals ideally should have a company_country_id field. This is all

shez1983's avatar
shez1983's avatar shez19834mos agoLaravel
0
1
madprabh's avatar

Can I pass user owned API key in AI SDK

Hey Folks, Can I pass a user owned API key to the AI SDK? For example, like this $response = (new SalesCoach) ->prompt('Analyze this sales transcript...') ->apiKey('MyapiKey');

madprabh's avatar
madprabh's avatar madprabh4mos agoLaravel
6
1
Last reply by madprabh 4mos ago
earmsby's avatar

Deployment script/restarting Queue

I have a bunch of different sites deployed on Forge. In one or two, I'm using Filament importing and exporting and thus I have a Queue Worker process running. I noticed a difference between the deployment scripts for more recently created sites and older sites. One thing is that on the newer sites, there is this in the deployment script: $RESTART_QUEUES() On an older site wher

earmsby's avatar
earmsby's avatar LaryAI4mos agoForge
1
1
Last reply by LaryAI 4mos ago
troccoli's avatar

Flexible Cache

I have an application that displays statistics collected by another application. It gets the data via API. It also uses some filters, for example the users. So it get the list of all users via an API as well. There are just a couple of hundreds users, but since the API response are paginated the app needs to go through all the pages and collect the users. This would be called e

troccoli's avatar
troccoli's avatar troccoli4mos agoLaravel
4
6
Last reply by troccoli 4mos ago
troccoli's avatar

Cache does not persist within Livewire component

I need to store the state of a user, but instead of using fields in the users table I have decided to use a persistent cache. The reason is that I will have other use cases to store states not all related to the users, so I needed a more generic solution. So, I created the migrations for persistent_cache and persistent_cache_lock as copies for the migrations for the cache provi

troccoli's avatar
troccoli's avatar troccoli4mos agoLivewire
3
1
Last reply by troccoli 4mos ago
sisilchandana's avatar

php artisan serve not working

I am new to laravel. I installed properly laravel last week and it was work properly. Unfortunately today it is not working. When I issue the php artisan serve command it is not working. Pl help me.

sisilchandana's avatar
sisilchandana's avatar CalumChild...4mos agoCode Review
18
22
Last reply by CalumChilds 4mos ago
INTRA's avatar

Laravel + Firebase: Need SQL database too ?

Good morning everyone! Someone told me I need to synchronize databases, and I'm a bit confused. Here's my question: Do I need to build functionality to synchronize between Firebase and a SQL database in Laravel? Or can I use Firebase directly for everything? My setup: Admin panel: Laravel + Firebase Mobile app: Flutter + Firebase Can the Laravel admin panel connect directly to

INTRA's avatar
INTRA's avatar vincent150...4mos agoLaravel
1
1
Last reply by vincent15000 4mos ago
diblasid's avatar

Queue:clear doesn't clear unique locks too?

Dear all, I'm studying queues and processes, When I want a process to be unique I set its' class as: class MyProcess implements ShouldQueue, ShouldBeUnique{ public $uniqueFor = 3600; public function uniqueId(): string { return ... < UNIQUE ID > } I can see that when I fire a MyProcess ::dispatch(); it is added to the "jobs" table AND a file unde

diblasid's avatar
diblasid's avatar raphael4mos agoLaravel
2
30
Last reply by raphael 4mos ago
adamnet's avatar

Passing data into anonymous component

I have an anonymous component named citizendata which is described below: <div class="col-sm"> <div class="form-floating"> <input type="text" class="form-control" id="firstname" name="firstname" value="{{ old('firstname', $citizen->firstname ?? '') }}" >

adamnet's avatar
adamnet's avatar vincent150...4mos agoLaravel
4
1
Last reply by vincent15000 4mos ago
jon0824's avatar

Optimizing Inertia.js Localization: DB-based translations vs. Static File Generation

Hi, I am working on a project with dynamic language support where translation strings are stored in the database. Currently, these translations are passed via Inertia props on every request, which causes significant bloat in the data-page object (payload). I want to eliminate this overhead. My proposed solution is to export the database translations into a static file (e.g., JS

jon0824's avatar
jon0824's avatar vincent150...4mos agoLaravel
1
1
Last reply by vincent15000 4mos ago
madprabh's avatar

TrustProxies for Hetzner load balancer

Hey Folks, Does anyone know what proxies I should trust to work with Hetzner loadbalancer? I am facing a problem where my site complains that asset urls were loaded over http and doesn't render anything on the browser. My TrustProxies.php is this right now protected $proxies = '*'; /** * The headers that should be used to detect proxies. * * @var int */

madprabh's avatar
madprabh's avatar adamparuse...4mos agoLaravel
3
9
Last reply by adamparusel 4mos ago
abdunnasir's avatar

Laravel best way to execute 100 jobs in parallel

Hello, I am building an uptime monitoring application as a hobby project. Suppose I want to monitor 1000 websites every minute. What is the best way to do this? If I add all 1000 websites to a queue, it will take more than one minute to process all the checks. That means the next monitoring cycle may start after 3–4 minutes, so I cannot achieve a true 1-minute interval. What is

abdunnasir's avatar
abdunnasir's avatar JussiManni...4mos agoDevOps
1
1
Last reply by JussiMannisto 4mos ago
martinbean's avatar

Livewire 3 vulnerability found. Update now!

A vulnerability has been discovered that affects Livewire 3 versions up to and including 3.6.3 (https://nvd.nist.gov/vuln/detail/CVE-2025-54068). If you’re running a vulnerable version, you’re advised to upgrade immediately. This includes if you’re using a package (such as Filament) that relies on affected versions.

martinbean's avatar
martinbean's avatar aurawindsu...4mos agoLivewire
5
32
Last reply by aurawindsurfing 4mos ago
mstdmstd's avatar

How to fix Class "MongoDB\Driver\Manager" not found error under homestead ?

I have installed Homestead with mongodb In my Homestead.yaml I have : ... features: - mongodb: true ... But running the app I got Class "MongoDB\Driver\Manager" not found I have restarted mongod with command sudo systemctl restart mongod and I have under vagrant : $ sudo systemctl status mongod ● mongod.service - MongoDB Database Server Loaded:

mstdmstd's avatar
mstdmstd's avatar Bapquad4mos agoGeneral
10
11
Last reply by Bapquad 4mos ago
suhkha's avatar

FatalThrowableError in Client.php line 81: Class 'MongoDB\Driver\Manager' not found

I have my laravel v.53 project with Homestead (before scotchbox). So in Homestead I install mongodb, so if I type: mongodb --version I got the version 3.2 so it's ok because I use the package jenssegers/laravel-mongodb First I'm not 100% sure if my config is correct: database.php 'mongodb' => array( 'driver' => 'mongodb', 'host' => 'local

suhkha's avatar
suhkha's avatar Bapquad4mos agoLaravel
22
1
Last reply by Bapquad 4mos ago
Swaz's avatar

Livewire 4 sorting across groups?

How is it possible to detect sorting across groups if the only values we get are the $item and $position? from the docs use Livewire\Component; use Livewire\Attributes\Computed; new class extends Component { public User $user; public function sortItem($item, $position) { $item = $this->todo->items()->findOrFail($item); // Update the it

Swaz's avatar
Swaz's avatar Swaz4mos agoLivewire
15
1
Last reply by Swaz 4mos ago
Pixelairport's avatar

Test Spatie Permissions with Orchestra Testbench policy

I use spatie permissions in my package and want to test with orchestra. That means I need Workbench\Models\User::class instead of User\Models\User::class as user model. I set this in phpunit.xml: <env name="AUTH_MODEL" value="Workbench\Models\User::class"/> Now I want to test the policy. But the user model implements spatie permissions trait and then

Pixelairport's avatar
Pixelairport's avatar kei_mx4mos agoTesting
3
2
Last reply by kei_mx 4mos ago
Samart69's avatar

Install Laravel 10 on shared hosting

I have read all the related discussions here with no resolution. I cannot change the virtual host document root on the server as this is a shared hosting environment. Most of the articles I read suggested a .htaccess in the root of the project, this works to a degree. The site works as expected UNTIL you add a trailing slash to the URL like so /test/, and the site redirects you

Samart69's avatar
Samart69's avatar HoudaifaBS4mos agoLaravel
11
217
Last reply by HoudaifaBS 4mos 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.