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

Čamo's avatar

Form error causes recaptcha error

Hi I tried to create new discussion here and made some mistakes so the submit returns an errors. I forget to choose channel or title second time... But if any error occures second submit returns error with recaptcha so it is impossible to submit the form. Secondly I do not see any recaptcha here.

Čamo's avatar
Čamo's avatar antoineLZC...5mos agoFeedback
2
5
Last reply by antoineLZCH 5mos ago
Drmario901's avatar

How can I authenticate Laravel Reverb private channels using JWT (Tymon JWTAuth) in Laravel 12?

Hi everyone, I need help understanding how to authenticate private channels in Laravel 12 when using Laravel Reverb together with Tymon JWTAuth. My project is API-only (no sessions, no cookies, no web middleware). All authentication is done through JWT (Bearer token). I want to know: How can I authenticate '/broadcasting/auth' using JWT so that private channels work correctly

Drmario901's avatar
Drmario901's avatar itsmill3rt...5mos agoLaravel
1
1
Last reply by itsmill3rtime 5mos ago
tanjilurrahman21's avatar

Deploying Redis on a server or C-panel for PHP v7.3

Hello, I've come across an issue where I have to apply redis caching and deploy. In my local Environment I am running redis on docker and the php is running on xampp. Is there any guideline or instructions on how to deploy the redis and run on server ?

tanjilurrahman21's avatar
tanjilurrahman21's avatar itsmill3rt...5mos agoPHP
1
5
Last reply by itsmill3rtime 5mos ago
EltonRexha's avatar

Postgres with neon not working

i generated the default migrations and when i try to migrate: $ php artisan migrate:fresh INFO Preparing database. Creating migration table ........................................................................................................... 240.69ms DONE INFO Running migrations. 0001_01_01_000000_create_users_table ........................................

EltonRexha's avatar
EltonRexha's avatar itsmill3rt...5mos agoGuides
2
1,736
Last reply by itsmill3rtime 5mos ago
samirz's avatar

No difference between PHP-FPM and Swoole in Production with nginx

Hello, I installed swoole php extension at digitalocean droplet and used https://github.com/hhxsv5/laravel-s with laravel application, then i created a reverse proxy with nginx for the port that swoole server works on it. My problem is that when i test the app with internal ip 127.0.0.1:8000 i notes that swoole works and the response time nearly to 15ms to 20ms but when i use t

samirz's avatar
samirz's avatar itsmill3rt...5mos agoServers
1
5
Last reply by itsmill3rtime 5mos ago
forkingbeardman's avatar

Inertia/React SSR - i18n Language flicker Issue

Hi, i have run into the following issue after adding SSR support to my app, the server rendered html stays in English but later is hydrated with whatever user has selected. this causes slight flicker of text during refresh (and seo not indexing correct html). i have tried many solutions and none have solved the underlying problem. in my Layout.jsx i have following code: useEffe

forkingbeardman's avatar
forkingbeardman's avatar forkingbea...5mos agoInertia
2
1
Last reply by forkingbeardman 5mos ago
nmbrcolin's avatar

Making Nova's Repeater support dependsOn()

Has anyone here been able to make Nova's Repeater field (the outer field itself, not the inner repeatables or their fields) depend on another field? I have a repeater field that I'd like to show or hide depending on the value of another field (a Select field) and slowly coming to terms with the fact that I might need to either write custom Vue.js code or switch to a third-party

nmbrcolin's avatar
nmbrcolin's avatar hofnof5mos agoNova
1
1
Last reply by hofnof 5mos ago
FrazeColder's avatar

FilamentPHP + Spatie Media library plugin: Images are not being saved

Hey there, I am using FilamentPHP and Spatie media library. Additionally, I am using the Spatie media library FilamentPHP plugin in order to show and upload the images in my admin panel. However, the images are not being uploaded and stored at all! This is my model: use Illuminate\Database\Eloquent\Model; use Spatie\MediaLibrary\HasMedia; use Spatie\MediaLibrary\InteractsWithMe

FrazeColder's avatar
FrazeColder's avatar primalmove...5mos agoGeneral
5
1
Last reply by primalmover 5mos ago
june23's avatar

How to get a job as an Entry Level Junior Laravel Developer?

What type of projects should I have if I want to start applying for Junior Laravel Roles? Also what technologies should I use, is DevOps Tools a must for any Role including Containers like Docker, Configuration Management Tools like Ansible, Chef, or Puppet and an Automation Server Tools such as Jenkins, Circle CI, or maybe even Github Actions and Code Coverage Tools with Stati

june23's avatar
june23's avatar june235mos agoGeneral
23
130
Last reply by june23 5mos ago
Čamo's avatar

Laravel 12 CommandFinished does not run for php artisan test

I would like to implement some logic after all tests in Laravel 12 application finished. I found this blog from 2024 https://laravel.com/docs/12.x/events#main-content which is based on CommandFinished native event. So I made a CommandFinishedListener. If I run php artisan event:list I see the lister in the list. So it is obviously registered. If I run any command it works BUT a

Čamo's avatar
Čamo's avatar Glukinho5mos agoGeneral
11
1
Last reply by Glukinho 5mos ago
konrms's avatar

Shibboleth Authentication

I am trying to add the shibboleth authentication package to my project. My laravel version is 5.7.26. I have followed these instructions https://packagist.org/packages/uabookstores/laravel-shibboleth?fbclid=IwAR1fBHLv_0EPgS2hhNc5fB2AVF_ZjOthpPVu_yCgLzySfLYXX-dRSTucCBc but I can not implement users login (and have not understood how to use it). I'm stuck at this point: @if (Auth

konrms's avatar
konrms's avatar jschlies5mos agoLaravel
15
2
Last reply by jschlies 5mos ago
minaremonshaker's avatar

Question About Adding Custom Methods in Laravel Policies

Hi, I have a question about Laravel policies. Is it possible to define a custom method in a policy, like createOwn, or is it better to stick with the default methods provided in the policy stubs? I'm asking because, in the method below, I want to ensure that a user can only create their own ticket, so I plan to pass the ticket ID as an argument. public function create(User

minaremonshaker's avatar
minaremonshaker's avatar tykus5mos agoLaravel
14
11
Last reply by tykus 5mos ago
Avijit's avatar

Which Laracasts courses teach Laravel with Inertia.js and React?

I’m curious about building full-stack applications using Laravel, Inertia.js, and React. Can anyone recommend Laracasts courses that cover these topics from beginner to advanced?

Avijit's avatar
Avijit's avatar LaryAI5mos agoReact
2
3
Last reply by LaryAI 5mos ago
vincent15000's avatar

Livewire and Service class with business logic

Hello, I'm using some Livewire components in a Laravel application. I'm using a service class with the business logic. Here is how I use it inside the Livewire component. private TableService $tableService; public function boot(TableService $tableService) { $this->tableService = $tableService; } Here is an example of a function in the table service class. public functi

vincent15000's avatar
vincent15000's avatar Snapey5mos agoLivewire
10
13
Last reply by Snapey 5mos ago
vincent15000's avatar

Strange behavior with AlpineJS and the sort plugin

Hello, In a Laravel project, with Alpine.js I'm using the sort plugin When I drag and drop an element, I see the element move with my mouse (the element follows my mouse). After moving a first element, when I move a 2nd one, the element I'm dragging no longer follows the mouse, but appears at the top of the screen. But once the drop is done, the items are correctly sorted. I fi

vincent15000's avatar
vincent15000's avatar vincent150...5mos agoLaravel
6
9
Last reply by vincent15000 5mos ago
Chron's avatar

Should I prop-drill usePage contents?

I have this in App.vue <script setup> import { computed } from 'vue'; import { usePage } from '@inertiajs/vue3' const page = usePage(); const auth = computed(() => page.props.auth ?= "Guest"); </script> <template> You are logged in as {{ auth }}! </template> But then, I also need to use auth on other pages, should I just declare it i

Chron's avatar
Chron's avatar Chron5mos agoInertia
2
5
Last reply by Chron 5mos ago
vincent15000's avatar

Lovable vs traditional web developer

Hello, I just followed these last 4 days a short challenge about web marketing using AI. Hmmm ... very interesting ... I didn't know anything (or perhaps so few) about marketing, I'm eager to try some things. During this challenge, the trainer has shown how to use Lovable to create a website to promote one's activity or product. It's really amazing. So I asked for more informat

vincent15000's avatar
vincent15000's avatar jlrdw5mos agoGeneral
3
20
Last reply by jlrdw 5mos ago
earmsby's avatar

Forge was unable to build the frontend assets for your site

I am trying to set up a new site on a Forge server but I keep running into the message in the subject. I've created a number of sites from Github repos on Forge but not run into this error. Not sure where to look to resolve the problem. Suggestions?

earmsby's avatar
earmsby's avatar earmsby5mos agoForge
4
1
Last reply by earmsby 5mos ago
Amplify2234's avatar

Alpine.js multi-select not working when using x-model with :selected

I'm facing an issue with an Alpine.js multi-select element. when i use x-model on a select multiple along with a :selected binding on the option elements, i’m unable to select or change options in the multi-select. <div class="col-12"> <label class="form-label form-label-sm"> Test Methods <span class="text-danger">*<

Amplify2234's avatar
Amplify2234's avatar LaryAI5mos agoGeneral
1
5
Last reply by LaryAI 5mos ago
jason06's avatar

Bill Fetching Website

Hey There! I want to create a website that will fetch data from other websites' databases and display it on my website. When a user visits my website and enters their unique reference number to check their electricity bills according to their reference number, my website scrapes data from the original website and shows it on my website. Due to my lack of experience with Laravel

jason06's avatar
jason06's avatar oliviacrte...5mos agoLaravel
16
2
Last reply by oliviacrter 5mos ago
peterdev's avatar

Subtitles on Laracast

Hi, I suggest to enable subtitles for all your courses, sometime is difficult to understand all the words if english is not your native language.

peterdev's avatar
peterdev's avatar burlakov5mos agoGeneral
2
1
Last reply by burlakov 5mos ago
MoSalem's avatar

Trait "Illuminate\Console\Prohibitable" not found

Hello When i tried to deploy nwidart laravel module package using command " composer require nwidart/laravel-modules" I got this error in terminal : Trait "Illuminate\Console\Prohibitable" not found at vendor\nwidart\laravel-modules\src\Commands\BaseCommand.php:17 13▕ use Symfony\Component\Console\Output\OutputInterface; 14▕ 15▕ use function Laravel\Prompts\

MoSalem's avatar
MoSalem's avatar michelsouz...5mos agoLaravel
5
8
Last reply by michelsouza 5mos ago
lelobo's avatar

Which is the best IDE: Cursor or PhpStorm?

Hello everyone 👋 I would like to start this forum to get your opinions on which IDE you consider the best for working with Laravel: Cursor or PhpStorm. I’ve noticed that many developers are currently using Cursor, and I wonder if it is really a professional alternative compared to PhpStorm. I would also like to know whether Cursor works well with the Laravel Idea plugin and if

lelobo's avatar
lelobo's avatar mbg225mos agoGeneral
4
7
Last reply by mbg22 5mos ago
beracah.kings's avatar

Login Logic in Inertia JS

How to customize logic for login in inertiajs

beracah.kings's avatar
beracah.kings's avatar vincent150...5mos agoInertia
5
1
Last reply by vincent15000 5mos ago
razorext2's avatar

cURL error 56: Recv failure: Connection was reset when dispatch an event

several days ago, i was playing with reverb and it work fine, idk why today my broadcast message has stop working. im on local development and i think i dont have any issue with my configuration, since i've try to reinstall again and again, test it on another pc, and it still suck. what i have do is just use livewire table to one of my pages, and i think its not the problem. he

razorext2's avatar
razorext2's avatar hmawla5mos agoReverb
1
5
Last reply by hmawla 5mos 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.