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

vincent15000's avatar

Stripe : product and price creation

Hello, For the moment I have developed an application with billing via Stripe and it really works fine. Some months later, I now ask myself what was really the best approach between creating the products and the prices either via the API or directly on the Stripe website. Why I ask for this ? An application is developed with some functionalities and it's quite impossible to han

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoGeneral
6
4
Last reply by vincent15000 3mos ago
vincent15000's avatar

Problem with PHPUnit and encrypted casting fields while upgrading from Laravel 8 to Laravel 11

Hello, While upgrading from Laravel 8 to 11, I have a problem to test some functionalities with models using the encrypted casting for some fields. I get an error saying that the payload is not valid. I really don't see what I have to change so that the tests work. Any idea ? Thanks for your help. V

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoTesting
5
3
Last reply by vincent15000 3mos ago
vincent15000's avatar

Database design to save a diagram

Hello, I work on a personal project : an application to create treasure hunts to discover a location. a treasure hunt has one or several quests each quest can has one or several challenges each challenge has one or several riddles But ... if all challenges are binded to the treasure hunt (start-shaped treasure hunt), they can also be binded to other challenges (one step

vincent15000's avatar
vincent15000's avatar Tray23mos agoDesign
1
1
Last reply by Tray2 3mos ago
vincent15000's avatar

JS package to create diagrams

Hello, I'm looking for a JS / VueJS package to create diagrams. I have found GoJS, who knows it ? But it's not free. I have also found v-network-graph and visjs. Perhaps you know other interesting and free packages ? The idea is to display visually the different steps of a treasure hunt. Thanks for your help. V

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoVue
4
1
Last reply by vincent15000 3mos ago
vincent15000's avatar

Remove unused packages to get the smaller application size

Hello, Hmmm ... a client asks me if it's possible to reduce the size of a Laravel / VueJS application by removing all unused packages, so that it gets the smaller size possible. The PHP and NodeJS packages in the vendor and node_modules folder are not all used, but sure they are dependencies. I think it's a very bad idea to try to remove some packages manually. 2 questions :

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoLaravel
6
4
Last reply by vincent15000 3mos ago
vincent15000's avatar

Blade and Javascript frameworks

Hello, I just read this in the documentation. https://laravel.com/docs/12.x/blade#blade-and-javascript-frameworks I don't understand in which context this can be used. @{{ name }} Any idea ? Thanks ;). V

vincent15000's avatar
vincent15000's avatar LaryAI3mos agoLaravel
1
1
Last reply by LaryAI 3mos ago
raobilal4822's avatar

Groups are auto close when other group are active in navigation

raobilal4822's avatar
raobilal4822's avatar LaryAI3mos agoFilament
1
1
Last reply by LaryAI 3mos ago
laracoft's avatar

Not receiving Laracast emails

Not getting any emails when someone replies to the conversations I'm watching... anyone having the same problem?

laracoft's avatar
laracoft's avatar laracoft3mos agoGeneral
2
1
Last reply by laracoft 3mos ago
salamwaddah's avatar

Why do I have to turn off Captions on every video?

Captions are turned on by default and I have to turn it off every time the next video starts. At least remember my choice for the session.

salamwaddah's avatar
salamwaddah's avatar connor12313mos agoFeedback
1
1
Last reply by connor1231 3mos ago
vincent15000's avatar

Create a global helper function

Hello, I used the mercuryseries/flashy package to display toasts on the page, but it's not compatible with Laravel 12. I tried some existing packages and I don't find any toaster package similar to the previous one. So I decided to create my own toaster and it's a good exercise because I don't know how to do. I'd like to display a notification on the screen after a store / upda

vincent15000's avatar
vincent15000's avatar Shivamyada...3mos agoLaravel
8
1
Last reply by Shivamyadav 3mos ago
hellencharless54's avatar

Help With Eloquent Relationship Issue — Not Returning Expected

Hey everyone, I’ve run into a bit of a problem with Eloquent relationships in Laravel, and I’m hoping someone here can point me in the right direction. I’m trying to eager-load a relationship between two models — let’s say User and Profile — but the related data isn’t being returned the way I expect. Here’s a simplified version of what I’m doing: $user = User::with('profile')-&

hellencharless54's avatar
hellencharless54's avatar Shivamyada...3mos agoFeedback
4
2
Last reply by Shivamyadav 3mos ago
vincent15000's avatar

Upload problem after upgrading from Livewire 2 to Livewire 3

Hello, I get this error when I click on the upload button. > wire-wildcard.js:22 Alpine Expression Error: Cannot read properties of undefined (reading 'name') Expression: "$wire.upload" The error comes from the supportFileUploads.js file. Any idea on what I could do ? Thanks for your help ;). V

vincent15000's avatar
vincent15000's avatar Tray23mos agoLivewire
8
1
Last reply by Tray2 3mos ago
manimonji's avatar

Email verification causes ALL forms to not work (Any info on internal email verification process helps)

If I sign up a new user with a fake gmail then try to log out, that works. (logging out also done by a form) but If I verify my email (using the default email verification functionality in laravel) a new tab opens, and in that new tab I can't use any forms. I can't log out, I can't comment, I CAN use links and do other stuff without any problem. clicking the submit button of fo

manimonji's avatar
manimonji's avatar manimonji3mos agoGeneral
0
1
Halim's avatar

Can I still use Breeze with Laravel 12?

I checked the Breeze GitHub repository, and it seems it’s no longer has a doc. They now suggest using the new starter kits, which require you to use either Vue, React, or Livewire. However, for my app, I only want to use plain PHP (Blade) and possibly install Bootstrap 5 later and vanilla JS, no Tailwind or other frontend frameworks. In previous Laravel versions, I usually inst

Halim's avatar
Halim's avatar martinbean3mos agoLaravel
3
5,572
Last reply by martinbean 3mos ago
an.leclerc's avatar

Dispatch between livewire component and Volt component

Hi, I've set up a dispatch on my code,but it's not working. What I'm doing wrong ? In my livewire component I have : $this->dispatch("document-uploaded.{$this->dossier->id}"); and in my volt component : new class extends Component { public DossierModel $dossier; public int $total = 0; public int $uploaded = 0; public bool $all_uploaded = fa

an.leclerc's avatar
an.leclerc's avatar an.leclerc3mos agoLivewire
1
1
Last reply by an.leclerc 3mos ago
vincent15000's avatar

After upgrading to Laravel 12, the policies aren't registered anymore

Hello, Laravel 12 autoregisters the policies. I have upgraded an application from Laravel 9 to Laravel 12 and I have removed the AuthServiceProvider where the policies where declared. But the policies aren't registered, I have tried to return true or false from the policy rule and it doesn't change anything. @can('update', $category) <div>Always displayed, no matter if I

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoLaravel
6
380
Last reply by vincent15000 3mos ago
SDCODE's avatar

Send encrypted payload with images using AJAX and decrypt in Laravel

Send form data and images using AJAX in encrypted payload field. In Laravel controller, decrypt the payload and access form data and images securely. Hide form data from Network tab and process encrypted data and images safely in controller.

SDCODE's avatar
SDCODE's avatar martinbean3mos agoLaravel
4
1
Last reply by martinbean 3mos ago
ZoD3V's avatar

Laravel Filament server error 500

Hello i wanna ask i deployed my Laravel filament and i have 10 resources in filament and the project using CI/CD and have set the memory limit to 2048M but I still get a 500 server error when trying to access /admin. Does anyone know why? this is my dockerfile RUN echo "memory_limit=2048M" > /usr/local/etc/php/conf.d/99-custom.ini laravel version v11.31 filament v

ZoD3V's avatar
ZoD3V's avatar martinbean3mos agoLaravel
6
1
Last reply by martinbean 3mos ago
vincent15000's avatar

Upload error after upgrading from Livewire 2 to Livewire 3

Hello, I had these listeners with Livewire 2. protected $listeners = [ 'upload:errored' => 'fireUploadError', 'upload:finished' => 'fireUploadSuccess', ]; I don't find any equivalent with Livewire 3. Any idea how to listen to these events with Livewire 3 ? Thanks a lot ;). V

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoLivewire
1
1
davy_yg's avatar

Class "session" not found

In my blade I have this codes: @if($message = session::get('flash')) <div class="alert alert-success"> {{ $message }} </div> @endif and I get the following error: Class "session" not found Should I add on top of the alert ? It works in my previous laravel without use Session in my view.

davy_yg's avatar
davy_yg's avatar Shivamyada...3mos agoLaravel
2
1
Last reply by Shivamyadav 3mos ago
codeXX's avatar

Laravel on Ubuntu 24.0 Docker - PHP-FPM + NGINX - PHP-FPM gives /index.php 404 error

I have created a git repo for this setup here. The folder structure I have is: Project Folder |- docker-laravel |- api I have a docker setup with Laravel Application that works fine on local Mac however, I am facing issues with the deployment on Ubuntu server 24.0. All my paths are correct All my volumes are mapped correctly I checked the file location which exists I h

codeXX's avatar
codeXX's avatar codeXX3mos agoDevOps
1
13
Last reply by codeXX 3mos ago
earmsby's avatar

FileUpload field on Filament infolist

I have a Filament form with this upload field: FileUpload::make('contract_pdf') ->disk('public') ->directory('contract_pdfs') ->maxSize(200000) ->visibility('public') I set up the symlink using php artisan storage:link and that seems to be working just fine. My infolist for this field is: TextEntry::make(

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

Security vulnerabilities

Hello, I just noticed this. For information ... composer audit Found 2 security vulnerability advisories affecting 2 packages: +-------------------+----------------------------------------------------------------------------------+ | Package | laravel/framework | | Severity | medium

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoLaravel
5
16
Last reply by vincent15000 3mos ago
orphikkkk's avatar

419 Page Expired error on every network request.

My Laravel project was running completely fine and then I had to re setup the project in my laptop so I deleted the project directory and cloned the project in a new directory. After that I get 419 page expired error on every network request. It is showing that error in the network tab when any Livewire network request is triggered and also on any form submission eg. login form

orphikkkk's avatar
orphikkkk's avatar vidalramir...3mos agoLaravel
15
5,121
Last reply by vidalramirezjesus63-ops 3mos ago
Foks's avatar

Target class [env] does not exist.

Hi! I'm running on PHP 8, Laravel 8.37 (With Laravel Telescope & Horizon). The application is working just fine, but when I try to run my feature tests this comes Target class [env] does not exist. And all my test fails

Foks's avatar
Foks's avatar pinsard3mos agoLaravel
16
1
Last reply by pinsard 3mos 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.