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

Randy_Johnson's avatar

My code is a 🤬 mess

Do I a) keep pushing forwards until I have a complete product b) stop now and take a week sorting out everything

Randy_Johnson's avatar
Randy_Johnson's avatar simotion3mos agoGeneral
6
3
Last reply by simotion 3mos ago
simotion's avatar

Centralising SaaS management and securing communication with deployments

There’s a lot of information out there about building a SaaS, but guidance on managing multiple SaaS products in a centralized and scalable way seems scarce—or maybe I’m just not using the right search terms. In preparation for the public launch of my first SaaS application, I’m building a central management platform which I'm naming 'MCP' -a slight nod to one of my all-time fa

simotion's avatar
simotion's avatar LaryAI3mos agoGeneral
1
1
Last reply by LaryAI 3mos ago
Nasmed's avatar

Configuring Laravel Boost with Google Antigravity?

Hi everyone, I'm using Laravel 12 with Google Antigravity (running Claude Opus 4.6 and Gemini Pro 3). The Laravel Boost docs don't list Antigravity support yet, and php artisan boost:install doesn't detect it automatically. Since Boost functions as an MCP server, has anyone managed to manually configure php artisan boost:mcp within Antigravity's settings? I'm looking for the ri

Nasmed's avatar
Nasmed's avatar LaryAI3mos agoAI
1
106
Last reply by LaryAI 3mos ago
petermay's avatar

Destination path too long.

I need in help for deleting files with too long file path.

petermay's avatar
petermay's avatar CalebRiver...3mos agoGeneral
4
2
Last reply by CalebRivers124 3mos ago
tjoskar's avatar

AMQP with laravel

Hi, I'm thinking of building an API application that work something like this: – At front I have a NodeJS app (Express or Sails.js or similar) which is only a thin and dumb layer that receives http requests and forwards it to an Laravel app. Has anyone here worked with AMQP (and laravel) and could point me in the right direction? I found this repo: https://github.com/forumhous

tjoskar's avatar
tjoskar's avatar aachich3mos agoGeneral
6
3
Last reply by aachich 3mos ago
screwtape_mk's avatar

Upgrading from Laravel 8 to 12

Firstly apologies for a noob question however : I'm upgrading my Laravel app from version 8 to 12. Rather than upgrading through each version, I’ve decided to start fresh with a new Laravel 12 installation and migrate my existing code to this new installation. My plan is to copy over essential files from the Laravel 8 app — controllers, models, views, routes, and assets like CS

screwtape_mk's avatar
screwtape_mk's avatar N1-San3mos agoLaravel
18
941
Last reply by N1-San 3mos ago
Tawheedyahya's avatar

Laravel Cache facade not storing data in Redis

Hi everyone 👋 I’m facing an issue with Laravel cache and Redis. Here are the details: OS: Ubuntu PHP: PHP 8.3 Laravel: 12 Redis: installed via apt and also tested with Docker Redis PHP extension: php-redis installed What I did: Set Redis as cache store in .env: CACHE_STORE=redis REDIS_HOST=127.0.0.1 REDIS_PORT=6379 Cleared config cache: php artisan optimize:clear Verified in Ti

Tawheedyahya's avatar
Tawheedyahya's avatar JussiManni...3mos agoLaravel
2
29
Last reply by JussiMannisto 3mos ago
giotsa's avatar

Scanning Laravel Vendors and SNYK

Dear Community Members, I have a question regarding Laravel (ver. 12) vendors, for the project we build the small application on Laravel, deploying code into the Azure repo and trying to use the azure DevOps to build image and delivery to final deployment destination, using SNYK vulnerability testing in the middle. But we faced problems while scanning the project code, SNYK rep

giotsa's avatar
giotsa's avatar giotsa3mos agoLaravel
2
1
Last reply by giotsa 3mos ago
yumna12-coder's avatar

Database Design

Why Isn’t MySQL Database Design Included in the Laravel Path?

yumna12-coder's avatar
yumna12-coder's avatar yumna12-co...3mos agoGeneral
4
2
Last reply by yumna12-coder 3mos ago
minaremonshaker's avatar

Is it a good practice to extend Spatie Permission models in a Laravel application?

Hi everyone, I’m using the Spatie Laravel Permission package in my project, and I’m wondering if it’s considered a best practice to extend the default Role and Permission models and place them inside my app’s Models folder, rather than using the package’s built-in ones directly. Would this approach make sense for better maintainability or customization, or is it generally bette

minaremonshaker's avatar
minaremonshaker's avatar Glukinho3mos agoLaravel
3
1
Last reply by Glukinho 3mos ago
minaremonshaker's avatar

Best way to systematically determine all permissions needed for my Laravel ticketing system app?

Best systematic way to plan all permissions for Laravel 12 ticketing system API with Spatie? I'm building a comprehensive ticketing system API using Laravel 12 with Spatie Laravel-Permission for role-based authorization (roles like admin, manager, agent, customer). I've implemented controllers for: Tickets (CRUD) Roles/permissions management (assign/revoke/view for roles) User

minaremonshaker's avatar
minaremonshaker's avatar DigitalArt...3mos agoLaravel
4
1
Last reply by DigitalArtisan 3mos ago
mboynes's avatar

cURL error 1: Received HTTP/0.9 when not allowed

I have an app that uses Pusher and has for the past 4+ years. I'm trying out reverb locally to see if I can replace Pusher, and I'm running into an error that I can't track down. I'm running the site locally, and I use Valet. MacOS 15.1, Laravel 11.23.5, PHP 8.3.6. I'm starting reverb with the following command: artisan reverb:start --host="0.0.0.0" --port=8080 --host

mboynes's avatar
mboynes's avatar vlamy3mos agoReverb
4
68
Last reply by vlamy 3mos ago
bluedreamer's avatar

When is the Larry AI going to get updated

It is now providing wrong answers. It says its last update is Oct 2023 and Laravel 10. When will it be updated to Laravel 12 and 2025

bluedreamer's avatar
bluedreamer's avatar hinlocaesa...3mos agoAI
2
1
Last reply by hinlocaesar-75309181 3mos ago
costiiordan's avatar

PEST 4 test form submit from JavaScript using Fetch API

I'm adding Browser tests to a Laravel 12 application using PEST 4. This is an older application that was migrated to the latest version of Laravel. I want to test some pages that have forms which are submitted using JavaScript Fetch API and FormData object. The functionality works well in the browser, but when I perform a form submit from PEST, the endpoint that receives the re

costiiordan's avatar
costiiordan's avatar costiiorda...3mos agoTesting
1
2
Last reply by costiiordan 3mos ago
shuvobhai's avatar

Too many email per second

Error : Expected response code 354 but got code "550", with message "550 5.7.0 Requested action not taken: too many emails per second " How can i solve this problem??? my code $subscribers = Subscriber::all(); foreach($subscribers as $subscriber){ Notification::route('mail',$subscriber->email)->notify(new NewBlogPosted($post)); }

shuvobhai's avatar
shuvobhai's avatar Darsh3mos agoLaravel
5
6
Last reply by Darsh 3mos ago
Developer654079525's avatar

Conditionally defining routes

What is your approach to conditionally defining the routes, especially when differentiating between the local dev machine and a live production server? Would a simple app()->isLocal() in a route file suffice?

Developer654079525's avatar
Developer654079525's avatar Developer6...3mos agoLaravel
8
1
Last reply by Developer654079525 3mos ago
madprabh's avatar

Best headless browser for web scrapping

Hey guys, I am looking to integrate headless browser in my project for scrapping js based websites. any recommendations on which one to use?

madprabh's avatar
madprabh's avatar LaryAI3mos agoLaravel
1
51
Last reply by LaryAI 3mos ago
Shivamyadav's avatar

Can 28 index keys make the 500 rows data to slowdown?

can database table columns 28 index slowdown the 500 data import from csv in Laravel also when I update those already added 500 data it takes half time of the import 8 to 9 minutes. There are many other things are happening like creating parent division, children division auto assign the user event and courses etc stuffs.

Shivamyadav's avatar
Shivamyadav's avatar jlrdw3mos agoDesign
10
1
Last reply by jlrdw 3mos ago
andrews-quest's avatar

Inertia Form: Merge two objects of URL parameters?

I'm trying to use Inertia <Form> to pass some parameters to a URL request, along some other ones that are stored as variables in React. For that I'm trying to use object merging like: <Form method='GET' action='/calls' transform={data => ({...queryParams, ...data})} > But that flops because, for some reason, the form's URL parameters always get overwritten by wh

andrews-quest's avatar
andrews-quest's avatar andrews-qu...3mos agoInertia
2
6
Last reply by andrews-quest 3mos ago
yumna12-coder's avatar

Struggling With Laravel From Scratch 2026

If I found laravel-from-scratch-2026 course difficult, is there a simpler level than this? And what is the best way to study the course? For example, the first two videos of the final project took me two days and I still didn't fully understand them.

yumna12-coder's avatar
yumna12-coder's avatar wordxpress...3mos agoLaravel
10
207
Last reply by wordxpression 3mos ago
vincent15000's avatar

API resources and accessors

Hello, I have this code. protected function price(): Attribute { return Attribute::make( get: fn ($value) => $value / 100, set: fn ($value) => (int) round($value * 100), ); } protected function expenses(): Attribute { return Attribute::make( get: fn (int $value) => $value / 100, set: fn (float $value) => (int) round($valu

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoLaravel
2
1
Last reply by vincent15000 3mos ago
RayC's avatar

Livewire 4 @island issue with refresh

There is a distinct possibility I may be missing something here. I am following the "Everything New in Livewire 4" series. In the "Islands" portion I am getting a weird issue when utilizing them, Issue: When I click the refresh icon in any of the islands, ALL the refresh icons animate in all the islands. But in the video, only the one clicked should ne anima

RayC's avatar
RayC's avatar RayC3mos agoLivewire
0
1
Randy_Johnson's avatar

Help, login in page redirecting to default laravel login page

Hi, I created a login in portal so that the user is given the choice to login as admin (will probably hide this later) , student, etc. but when I click the link it just redirects me to the login page. But there is absolutely no reason for it to do so. <?php use Illuminate\Support\Facades\Route; use Inertia\Inertia; use Carbon\Carbon; use Illuminate\Http\Request; use Illumin

Randy_Johnson's avatar
Randy_Johnson's avatar jlrdw3mos agoGeneral
8
43
Last reply by jlrdw 3mos ago
ella-stinnes's avatar

What should I test?

I'm new to testing so I'm trying to figure out what I should test. I have a CRUD for managing company details. The application has 8 different user roles, some users can access the full CRUD, some are read only and others cannot see the company details at all. Should I be creating 8 tests for the different user roles? Once I've tested the authorisation, I'm guessing I should ha

ella-stinnes's avatar
ella-stinnes's avatar martinbean3mos agoTesting
5
5
Last reply by martinbean 3mos ago
adamnet's avatar

Delete migration file in project. Way to restore?

Earlier today I created a migration file for creating a table with a lot of columns, foreign keys etc. Accidentally I deleted it. Is there any way to restore it? Is there a recycle bin into the project?

adamnet's avatar
adamnet's avatar martinbean3mos agoLaravel
8
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.