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

apichet7977's avatar

Livewire 4 does not work on subfolders.

public function boot(): void { Livewire::setUpdateRoute(function ($handle) { return Route::post('/livewire4/livewire/update', $handle) ->name('app.livewire.update'); }); } Customizing Livewire's update endpoint is not available. The result displayed is "http://localhost/livewire4/livewire/update 404 (Not Found)."

apichet7977's avatar
apichet7977's avatar apichet797...5mos agoLivewire
2
1
Last reply by apichet7977 5mos ago
karinegomes's avatar

List of available languages

Hey! I'm working on a multilingual project, and I was wondering if there's any function or helper package available on Laravel that retrieves all the languages defined on resources/lang, instead of manually adding a new language to an array everytime a new one is set up. So, if we need to loop through all the languages available, everytime a new locale is added to resources/lan

karinegomes's avatar
karinegomes's avatar JussiManni...5mos agoLaravel
8
3
Last reply by JussiMannisto 5mos ago
sigkydj's avatar

how to update laravel /tenancy app

I have a Laravel 12 app using stanch/tenancy. When I try to update it with "composer update", it breaks the routes and only accesses the main user's login and dashboard. Does anyone know how to fix this?

sigkydj's avatar
sigkydj's avatar sigkydj5mos agoLaravel
0
1
questionAndy's avatar

Error installing homestead box

So i am installing homestead step by step using the official laravel guide, but got an error, is this a bug or am i missing something? It says that there are no available versions that matches constraints, but then they show 13.0.0 as available version so why does it throw such an errror? I did not edit any files. Straight up git clone, init.bat, vagrant up and got this error.

questionAndy's avatar
questionAndy's avatar Voyowsky-6...5mos agoGeneral
8
1
Last reply by Voyowsky-6874182 5mos ago
yougotnet's avatar

How to allows user to build custom forms

I have an application where I need to allow the user to build a custom Survey forms and they design their own questions. I've done this before but wanted to see how others have accomplished this. The process involves the user building the custom form, then display the form for user input, storing the form input and generating a report based on the custom form data. Any input is

yougotnet's avatar
yougotnet's avatar raobilal48...5mos agoDesign
3
1
Last reply by raobilal4822 5mos ago
Punksta's avatar

tinker error

Seems to work, but always starts with "The system cannot find the path specified.". Windows 11, fresh Laravel 12.39.0 project Any ideas ?

Punksta's avatar
Punksta's avatar Punksta5mos agoLaravel
2
1
Last reply by Punksta 5mos ago
mgksmv's avatar

Close filter dropdown on "Apply filters" button click

How can I make table filters dropdown close after I click on "Apply filters" button? My client wants the dropdown to close after clicking but I didn't find a solution for this.

mgksmv's avatar
mgksmv's avatar mgksmv5mos agoFilament
0
1
ezmiks's avatar

How to enforce immediate type safety on a ValueObject-casted model property?

Hello, I have a model DepositMethod, and one of its property is called cost_settings I casted it like this: 'cost_settings' => AsCollection::of(CostSettingData::Class) but as far as I know, this casting only mutates the data when accessed. Is there a way to also enforce error if any value formats other than CostSettingData is provided? Because when I push data like $deposit

ezmiks's avatar
ezmiks's avatar ezmiks6mos agoLaravel
0
1
eddieace's avatar

Livewire 3: Uncaught (in promise) Component not found: {some_id} Open discussion

One common problem that occurs is these issues with "Component not found". I understand the root cause, which is that it needs a key to keep track of. Still, in many cases, at least for me, it's someone else who built something somewhere in the codebase, and the only way I have to figure out where is to comment out components until I find the one that is missing a key

eddieace's avatar
eddieace's avatar DoubleClic...6mos agoLivewire
1
1
Last reply by DoubleClickDesignLtd 6mos ago
pkundariya's avatar

Real estate website option in laravel

is there any real estate cms option in laravel?

pkundariya's avatar
pkundariya's avatar pkundariya6mos agoLaravel
4
1
Last reply by pkundariya 6mos ago
Mega_Aleksandar's avatar

Writing business proposals and contracts

Hello everyone, Apologies in advance if I am out of place here with this kind of question. If you know a better place to ask it, let me know, but you guys are all I've got. As I am diving deeper into the business world, coding is not enough, understanding systems is not enough. How do I actually get a client, hook them to sign the contract, make the proposal and contract comple

Mega_Aleksandar's avatar
Mega_Aleksandar's avatar vincent150...6mos agoGeneral
7
4
Last reply by vincent15000 6mos ago
tnort's avatar

Spotify api consumed by React app through Laravel api

Hi all, I have a more general question but I highly appreciated any help. I am building and React app that basically searches for albums by letting the user enter desired album title. As the user clicks the search button I would like to send a request from my React app to my Laravel API which should basically attach the Auth Token to the request and fetch the required data from

tnort's avatar
tnort's avatar KaylaRoger...6mos agoGeneral
3
1
Last reply by KaylaRogers 6mos ago
azuresky7@gmail.com's avatar

Model Domain Architecture (MDA)

Hey everyone I created MDA to solve a real problem in my company: developers organizing code differently across projects (some used repositories, others put everything in controllers, some tried DDD halfway...). What is MDA? An opinionated starter kit that organizes Laravel projects around models, with clear separation: Actions, Finders, Queries, Repositories by model Predictab

azuresky7@gmail.com's avatar
azuresky7@gmail.com's avatar azuresky7@...6mos agoLaravel
9
1
Last reply by [email protected] 6mos ago
sharkblue58's avatar

Is Tymon/jwt-auth a real refresh/access tokens system ?

I’m concerned about whether this approach is truly secure and reliable for production systems. Are there risks in rolling your own refresh token logic with Tymon/JWT compared to using a framework that handles it natively?

sharkblue58's avatar
sharkblue58's avatar martinbean6mos agoLaravel
2
2
Last reply by martinbean 6mos ago
adamnet's avatar

Min and max values for number field in blade view

Hello. I have a blade view with a form which has a field of type number. Quantity: Is it possible to have dynamic min and max values calculated by the controller's method?

adamnet's avatar
adamnet's avatar vincent150...6mos agoLaravel
3
1
Last reply by vincent15000 6mos ago
laracoft's avatar

Public facing Filament 4 form with Tailwind 4

I'm using Filament 4 and Tailwind 4 to build a public facing Filament form using these references https://laraveldaily.com/post/filament-appointment-booking-re-use-admin-panel-form-on-public-page https://filamentmastery.com/articles/guide-to-using-filament-components-in-public-facing-pages I also had to add @import '../../vendor/filament/filament/resources/css/theme.css'; i

laracoft's avatar
laracoft's avatar laracoft6mos agoLaravel
4
13
Last reply by laracoft 6mos ago
vincent15000's avatar

Private arrays with Livewire

Hello, I initialize private arrays in the mount method and those arrays arent dynamic, they just content some datas that don't have to be shared to the front. I have some input fields to type some values binded with wire:model.live. Each time I type a value, the private arrays become empty. What happens ? Thanks for your help. V

vincent15000's avatar
vincent15000's avatar vincent150...6mos agoLivewire
14
3
Last reply by vincent15000 6mos ago
muuucho's avatar

Livewire - manipulate data before validation

I am learning Livewire 3. After submitting a form, I like to manipulate data before validation. I like to do this before validation: $price = str_replace(',', '.', $price); How can I make thise work?

muuucho's avatar
muuucho's avatar sllkevin6mos agoLivewire
7
1
Last reply by sllkevin 6mos ago
sanjayacloud's avatar

Cannot run ./vendor/bin/sail up -d

I am trying to setup vapor in my local. I ran ./vendor/bin/sail up -d command and return me below errors. Processing triggers for man-db (2.9.1-1) ... #0 153.6 npm ERR! code EBADENGINE #0 153.6 npm ERR! engine Unsupported engine #0 153.6 npm ERR! engine Not compatible with your version of node/npm: [email protected] #0 153.6 npm ERR! notsup Not compatible with your version of node/npm

sanjayacloud's avatar
sanjayacloud's avatar terlebach6mos agoVapor
4
1
Last reply by terlebach 6mos ago
laracoft's avatar

Disks for my package

If my package requires its own entries in config/filesystem.php, what is the best way to get them in place without requiring the developer to go through my README.md?

laracoft's avatar
laracoft's avatar martinbean6mos agoLaravel
2
1
Last reply by martinbean 6mos ago
vincent15000's avatar

What is the real advantage of Laravel Folio

Hello, For some weeks, I wonder what is the real advantage of Laravel Folio. It seems to let developers create routes easier, but I don't find it easier. Who has already used Laravel Folio ? Thanks for sharing your experience with this package ;). V

vincent15000's avatar
vincent15000's avatar vincent150...6mos agoLaravel
2
1
Last reply by vincent15000 6mos ago
Darkdawg's avatar

Livewire Image upload component performance

I have a massive admin image upload component, and the performance is starting to bother me. The component handles uploads, resizing, generating modern formats (avif / webp), all with a live preview. We're talking like 30 different inputs, and like 600 views within the component according to my debugbar. I'm using mostly Flux UI stuff. Now I'm not concerned with the generation

Darkdawg's avatar
Darkdawg's avatar vincent150...6mos agoLivewire
2
2
Last reply by vincent15000 6mos ago
hemanthcm's avatar

Seeking Workaround: Automated Google Drive Ownership Transfer Blocked by Client Library

I am using the Google PHP API Client ("google/apiclient": "^2.15") within a Laravel service account to automate Google Sheet creation. To avoid hitting the Service Account's storage quota, I must immediately transfer ownership of the created sheet to a specific target user ($email). Current Status: The code successfully initiates the transfer, but the final

hemanthcm's avatar
hemanthcm's avatar DoubleClic...6mos agoLaravel
1
1
Last reply by DoubleClickDesignLtd 6mos ago
Shivamyadav's avatar

What do you prefer to choose?

Repository pattern or actions while using the repeated functionality and keeping the code cosistence. Generally I did not like the respository pattern. It makes code more complex and writing the more code for just a resuable functions and other stuffs.

Shivamyadav's avatar
Shivamyadav's avatar Snapey6mos agoFeedback
8
1
Last reply by Snapey 6mos ago
GeorgeKala's avatar

How to Implement Multilingual Enums in Laravel for API Responses with Translations

I'm building an API in Laravel and want to implement enums with multilingual support. For example, I have a CONNECTION_TYPE enum with values like WIRED and WIRELESS. I want to display these values in both English and Georgian depending on the user's locale. My goal is: To use enums for clean code and type safety. To have translations for enum values in both English and Georgia

GeorgeKala's avatar
GeorgeKala's avatar osama_986mos agoLaravel
4
1
Last reply by osama_98 6mos 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.