Browse Forum Podcast
All ThreadsLeaderboard
  1. Discussions

    1. Popular This Week
    2. Popular All Time
    3. Solved
    4. Unsolved
    5. No Replies Yet

BaselAJ's avatar

Should I use Inertia for a new ERP system?

I am currently assigned to create a ReactJS + Laravel + TailwindCSS stack ERP system while maintaining a Multi-Tenant/Modular Architecture, so far I've created the ReactJS and the Laravel parts separately. Was wondering if it's better to keep going with 2 Separate Projects or Join them into one using Inertia. Bare in mind I've used Inertia with VueJS not ReactJS back in the day

BaselAJ's avatar
BaselAJ's avatar Aciement3mos agoInertia
9
9
Last reply by Aciement 3mos ago
brtbrt's avatar

Laracasts worth it?

I signed up for a yearly Laracasts plan but rarely find video series that cover what I want to do. Eg. deployment via Github, no word on it. Or using Filament, no single word in the videos. Receiving webhooks, only covered when using Cashier. Learning more about Policies, only one video tackles it for Laravel 5. Am I coming with the wrong expectations? It seems like Laravel Dai

brtbrt's avatar
brtbrt's avatar Randy_John...3mos agoLaravel
9
9
Last reply by Randy_Johnson 3mos ago
Randy_Johnson's avatar

GraphQL 🤔

Is it any good?

Randy_Johnson's avatar
Randy_Johnson's avatar Randy_John...3mos agoGeneral
7
12
Last reply by Randy_Johnson 3mos ago
Giorgi's avatar

Do you struggle remembering Laravel collection methods and PHP syntax during interviews?

I've been a Laravel developer for several years and my biggest weakness is remembering syntax under pressure — collection methods, PHP variable types, Eloquent methods. I know how to use them in real work but blank out in interviews. I'm exploring building a spaced repetition tool specifically for Laravel/PHP developers — like Duolingo but for Laravel knowledge. Daily practice,

Giorgi's avatar
Giorgi's avatar Randy_John...3mos agoLaravel
1
4
Last reply by Randy_Johnson 3mos ago
laracoft's avatar

No way to set HTTP status

HTTP/2 400 server: openresty date: Sat, 04 Apr 2026 11:28:22 GMT content-type: text/html; charset=utf-8 cache-control: no-cache, private x-ratelimit-limit: 60 x-ratelimit-remaining: 57 phpdebugbar-id: 01KNC40K97P25K2JC4TFG74HMH access-control-allow-origin: * Calling abort(400, 'No parameters provided'); gives me the above, is there a way to show my message like when I'm calli

laracoft's avatar
laracoft's avatar martinbean3mos agoLaravel
3
1
Last reply by martinbean 3mos ago
Armanhozyn's avatar

If anyone knows to bind policy to the controller in Laravel 13.

In build forum course, I am trying to do this. use Illuminate\Foundation\Auth\Access\AuthorizesRequests; class CommentController extends Controller use AuthorizesRequests; public function __construct() { $this->authorizeResource(Comment::class); } } In my controller, But I am getting this error for this Call to undefined method App\Http\Controllers\CommentController::middlew

Armanhozyn's avatar
Armanhozyn's avatar Armanhozyn3mos agoLaravel
3
1
Last reply by Armanhozyn 3mos ago
Randy_Johnson's avatar

Axios Hacked! ⚠️

Or was it 🤔

Randy_Johnson's avatar
Randy_Johnson's avatar Randy_John...3mos agoGeneral
10
24
Last reply by Randy_Johnson 3mos ago
gizmojo's avatar

Livewire change response status code in full page component

Is it possible to set the response status code? E.g I have a full-page livewire component that servers a pretty 404 but need to set the status code to 404. Standard controller I do it by: return response(view('products.not_available'), 404);

gizmojo's avatar
gizmojo's avatar Muetze3mos agoLivewire
4
1
Last reply by Muetze 3mos ago
Shivamyadav's avatar

Laravel Smart Attendance System with Live Geofencing (10–20 Meter Radius) — Feedback Needed

I’m building a lightweight Laravel-based attendance system where users can check in/out only when they are physically present within a strict 10–20 meter radius of the workplace using live GPS validation. ⚙️ Core Features Implemented 2.📍 Real-time geofencing (strict 10–20m radius enforcement) 🎯 GPS accuracy filtering (reject low-accuracy readings) ⏱️ Live check-in only (no del

Shivamyadav's avatar
Shivamyadav's avatar martinbean3mos agoLaravel
7
24
Last reply by martinbean 3mos ago
zerosAndOnes's avatar

Inertia and SEO

Hello! I have been working on an app where SEO is essential. I have been using Livewire, which is great--but due to issues that arise from conflicts with using some libraries like flowbite (e.g, component not refreshing after adding wire:ignore because livewire makes a flow bite component to act bad), I am looking to switch to Inertia with vue or react, but I am a bit concerned

zerosAndOnes's avatar
zerosAndOnes's avatar Teddy-Jame...3mos agoInertia
16
21
Last reply by Teddy-James 3mos ago
Developer654079525's avatar

Controller's helper fn

Where should i keep the helper fn that fetches some data from a particular db table and is then used extensively across only two controller classes? Should i keep it as a private member function in both controllers and then invoke it in other member functions as: $result = this->myFn(); Or should I move it to a model, mark it as static and then in my controllers invoke it a

Developer654079525's avatar
Developer654079525's avatar Snapey3mos agoLaravel
3
6
Last reply by Snapey 3mos ago
vincent15000's avatar

InertiaJS and SSR

Hello, I never used SSR and I don't understand the documentation about SSR. https://inertiajs.com/docs/v3/advanced/server-side-rendering#manual-setup The Vite plugin reuses your app.js entry point for SSR by default, so no separate file is needed. Most customizations may be handled using the withApp callback. => no need to add another file than the base app.js file https:/

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoInertia
0
2
sanjaysamant's avatar

Shared hosting redirect to public always

Options -MultiViews -Indexes RewriteEngine On # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUEST_FILEN

sanjaysamant's avatar
sanjaysamant's avatar imranbru3mos agoLaravel
3
1
Last reply by imranbru 3mos ago
sr57's avatar

Xdebug alternative?

I just wonder if anyone use other tool than XDebug to profile php codes? And why?

sr57's avatar
sr57's avatar imranbru3mos agoGeneral
5
1
Last reply by imranbru 3mos ago
jlrdw's avatar

Forum only not displaying on Firefox 149.0 64 bit

Anyone else having problems with the forum portion only with Firefox? Other areas are working fine.

jlrdw's avatar
jlrdw's avatar Jsanwo643mos agoFeedback
9
28
Last reply by Jsanwo64 3mos ago
ebutler's avatar

"View path not found" on Prod but works locally

Hi! I'm getting the following runtime exception when I deploy my Laravel app to the server: Running artisan commands for staging... INFO Configuration cached successfully. INFO Events cached successfully. INFO Routes cached successfully. In ViewClearCommand.php line 59: VIEW PATH NOT FOUND. I don't get this at all when I am working locally on my app. Does anyone have any insig

ebutler's avatar
ebutler's avatar Glukinho3mos agoLaravel
5
1
Last reply by Glukinho 3mos ago
BOCEMBV12's avatar

Laravel Beginner

HI everybody i'm starting learning Laravel which courses you can recommended me please ?

BOCEMBV12's avatar
BOCEMBV12's avatar Armanhozyn3mos agoLaravel
6
4
Last reply by Armanhozyn 3mos ago
jschlies's avatar

Using Laravel Excel to insert a Chart into an Excel Worksheet

PHP 8.4 "laravel/framework": "^12.31", "laravel/sanctum": "^4.2", "laravel/ui": "^4.6", May I please pointed to an example of a Worksheet Export that generates a spreadsheet with an embedded chart? I presume this is the documentation I should be looking at. https://docs.laravel-excel.com/ The examples foun

jschlies's avatar
jschlies's avatar imranbru3mos agoGeneral
3
6
Last reply by imranbru 3mos ago
lobothijau's avatar

Weird Stacking Behavior of Inertia + Vue on Some Links

Hello everyone, I'm new to the combination of Inertia + Vue inside a Laravel project. In this project, I found a weird issue where some links when clicked will stack on top of each other. This happened on some links only, not all. Issue fixed temporarily by hard refresh (ctrl+shift+r) but it'll come again. If you see on the screenshot below, the bright (white background) is th

lobothijau's avatar
lobothijau's avatar lobothijau3mos agoInertia
3
8
Last reply by lobothijau 3mos ago
yougotnet's avatar

Laravel Policy and Spatie Permissions

I want to validate that a user can edit post that has the user id on it. I am trying to use Laravel Policies but I have Spatie Permissions installed and the policy never runs. I've created a spatie permission to edit post, but that doesn't check the user id.

yougotnet's avatar
yougotnet's avatar jlrdw3mos agoLaravel
4
1
Last reply by jlrdw 3mos ago
Maadhih25's avatar

Database migration

I already have a database with data. Do I need to create migrations for it in Laravel, and if so, how can I avoid losing the existing data?

Maadhih25's avatar
Maadhih25's avatar Tray23mos agoLaravel
3
6
Last reply by Tray2 3mos ago
FireBlade's avatar

NGINX server reading wrong css asset file in production following this guide https://docs.docker.com/guides/frameworks/laravel/production-setup/#create-a-docker-compose-configuration-for-production

For my setup, the Laravel app is inside src folder while all other docker setup files are outside src folder. My Dockerfile for NGINX container: FROM node:22-alpine AS builder WORKDIR /app # Copy Laravel application code COPY ./src/. /app RUN npm install && npm run build FROM nginx:1.21-alpine COPY --from=builder /app/public /var/www/public COPY ./nginx/nginx.conf

FireBlade's avatar
FireBlade's avatar FireBlade3mos agoCode Review
2
4
Last reply by FireBlade 3mos ago
swez_k's avatar

My Site Stops Working During Deployments

My site stops working during development, it just keeps loading, this happens only while its being deployed. is this normal behavior ? Thank you.

swez_k's avatar
swez_k's avatar swez_k3mos agoForge
6
8
Last reply by swez_k 3mos ago
yougotnet's avatar

Policies not blocking edits

If I put in the browser /post/3/edit; nothing in the PostPolicy will catch this. If I just put /post/3, then the view function will catch it. How can I protect the /edit?

yougotnet's avatar
yougotnet's avatar jlrdw3mos agoLaravel
4
1
Last reply by jlrdw 3mos ago
DevHarm's avatar

IP exposure behind Cloudflare / Plesk setup

Hey all, I’m running multiple websites (not just Laravel) on a VPS behind Cloudflare with deployment via Plesk. Everything works great, except for one thing: email. I feel like I’m basically forced to rely on services like Mailgun or Fastmail, mainly because: My origin IP is still technically reachable Self-hosting mail would expose that IP directly VPS IP reputation for email

DevHarm's avatar
DevHarm's avatar martinbean3mos agoServers
2
1
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.