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

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...4mos agoGeneral
4
1
Last reply by CalebRivers124 4mos 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 aachich4mos agoGeneral
6
1
Last reply by aachich 4mos 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-San4mos agoLaravel
18
315
Last reply by N1-San 4mos 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...4mos agoLaravel
2
22
Last reply by JussiMannisto 4mos 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 giotsa4mos agoLaravel
2
1
Last reply by giotsa 4mos 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...4mos agoGeneral
4
1
Last reply by yumna12-coder 4mos 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 Glukinho4mos agoLaravel
3
1
Last reply by Glukinho 4mos 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...4mos agoLaravel
4
1
Last reply by DigitalArtisan 4mos 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 vlamy4mos agoReverb
4
312
Last reply by vlamy 4mos 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...4mos agoAI
2
1
Last reply by hinlocaesar-75309181 4mos 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...4mos agoTesting
1
1
Last reply by costiiordan 4mos 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 Darsh4mos agoLaravel
5
1
Last reply by Darsh 4mos 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...4mos agoLaravel
8
5
Last reply by Developer654079525 4mos 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 LaryAI4mos agoLaravel
1
27
Last reply by LaryAI 4mos 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 jlrdw4mos agoDesign
10
1
Last reply by jlrdw 4mos 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...4mos agoInertia
2
1
Last reply by andrews-quest 4mos 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...4mos agoLaravel
10
41
Last reply by wordxpression 4mos 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...4mos agoLaravel
2
1
Last reply by vincent15000 4mos 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 RayC4mos 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 jlrdw4mos agoGeneral
8
14
Last reply by jlrdw 4mos ago
ella-stinnes's avatar

Policy viewAny

Both an administrator and company administrator should be able to access the companies.index page. Administrator - should be able to list all companies. Company Administrator - should only list the companies they are related to. I've seen differing opinions on the policy viewAny method. Should I be using this to define whether the user role can access the index page as I

ella-stinnes's avatar
ella-stinnes's avatar ella-stinn...4mos agoLaravel
4
8
Last reply by ella-stinnes 4mos 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 martinbean4mos agoTesting
5
1
Last reply by martinbean 4mos 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 martinbean4mos agoLaravel
8
5
Last reply by martinbean 4mos ago
thetestcoder's avatar

We migrated self hosted redis to Valkey 8.1 serverless aws elasticache.

Hi All, Old AWS EC2 for application servers AWS EC2 for horizon server AWS EC2 for self hosted Redis New AWS EC2 for application servers with ASG AWS EC2 for horizon server Valkey Serverless Cluster Mode Recently we moved self hosted redis 7.2 to valkey 8.1 culster mode. We update all configuration for slot and all. but as we are running bulk cmapaign before migration the h

thetestcoder's avatar
thetestcoder's avatar thetestcod...4mos agoLaravel
0
3
Yasm23's avatar

What should I do

Hello, I got an internship at a company for 3 months working with Laravel. After that, they will give me a task from a real project they have. The problem is that I spent two months learning topics without a specific order, and I realized that I have weak points in PHP. I also feel that the way Jeffrey Way explains things is special and very helpful. Do I still have time to res

Yasm23's avatar
Yasm23's avatar Randy_John...4mos agoGeneral
1
1
Last reply by Randy_Johnson 4mos 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.