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

BladeOfGaladrial's avatar

To API or Not to API? Laravel/Inertia/SSR vs. React Native for an SEO-Heavy Travel Site

Hey guys, I’m facing a bit of an architectural dilemma. I currently run traveljunky.in, a travel itinerary and package platform. Current Stack: * Laravel (Backend) Inertia.js (The bridge) React (Frontend) Server-Side Rendering (SSR) enabled via Node.js The Dilemma: We are considering a move to React Native to provide a better mobile experience (offline access to vouchers, push

BladeOfGaladrial's avatar
BladeOfGaladrial's avatar vincent150...3mos agoReact
6
1
Last reply by vincent15000 3mos ago
Neha_26's avatar

Images not rendering in Laravel on Shared Hosting (Works on Localhost) | Symlink & Path Issue`

Hi everyone, I'm developing an ad marketplace where I generate PNG previews of Blade templates using an external API (HCTI). Everything works perfectly on localhost, but I'm facing a critical issue on my live server (Shared Hosting). The Problem: Images uploaded via Livewire (stored in storage/app/public/ads/content) are not appearing in the Blade templates on the live site. Od

Neha_26's avatar
Neha_26's avatar Snapey3mos agoLaravel
3
1
Last reply by Snapey 3mos ago
kwojcik's avatar

TableFilter and Flatpickr project to review - Laravel 12 + Livewire 3

A minimal Laravel 12 + Livewire 3 demo app showing how to fix broken JavaScript after component reloads, especially when the issue is triggered by wire:navigate or the #[Lazy] attribute. The example includes Flatpickr for date inputs and the TableFilter package for table interactions. Would you approach this problem differently or use another pattern to keep JavaScript stable a

kwojcik's avatar
kwojcik's avatar kwojcik3mos agoCode Review
0
1
Caraes_Naur's avatar

Spatie Permissions, Teams with Super-Admin

I think I've managed to get these features to get along, just looking for a sanity check. Environment: Laravel 12, MySQL 8, Spatie Permissions 6.24.1 Enable Teams in config/permission.php. Set default_team_id = null In the migration, make team_id nullable and omit from indexes: @@ -48,7 +48,8 @@ return new class extends Migration $table->string('guard_name');

Caraes_Naur's avatar
Caraes_Naur's avatar Caraes_Nau...3mos agoLaravel
0
7
earmsby's avatar

two importers for same model?

I'm trying to implement two separate importers on the same model (Contract). I want one to create new records only and the other update existing records only. I know you can combine these, but the client I'm building for needs these to be separated. What is the best approach for this? FWIW, I've already fully built the importer to create new records. Now I'm looking to build a

earmsby's avatar
earmsby's avatar earmsby3mos agoFilament
4
9
Last reply by earmsby 3mos ago
mikon's avatar

OCR

i want to get the TEXT from a Fifa 21 image screenshoot , to get statistics(goals.possesion,tackels,corners, etc) and after to save in db ,, what do you suggest for me to use ?

mikon's avatar
mikon's avatar adityakdev...3mos agoLaravel
5
1
Last reply by adityakdevin 3mos ago
cupok's avatar

Debugging

Hi, do you guys have course about debugging PHP or JS? Would be nice to have otherwise!

cupok's avatar
cupok's avatar wordxpress...3mos agoPHP
5
16
Last reply by wordxpression 3mos ago
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
1
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
1
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
4
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
3
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
3
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
5
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
3
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
6
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,679
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
2
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
10
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
14
Last reply by martinbean 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.