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

Dreamer's avatar

Stripe vs Paypal

Hello! I am in a process of choosing the payment method for my upcoming app and it would be awesome if you guys/girls can clear some things up for me. I am leaning towards Stripe because all of the benefits it offers (main one: my app service is subscription based and Stripe makes it really easy). The thing is... I am worried that people would be discouraged because it is not P

Dreamer's avatar
Dreamer's avatar AmberTalav...2w agoGeneral
10
2
Last reply by AmberTalavera 2w ago
Thriddle's avatar

local AI guidelines

I'm working an a new project with Laravel 13. I'm using Lando as my development environment and everything is running in Docker containers. After installing boost I edited the mcp.json so it's using the proper command to start the MCP server. Because every service has to be called within Lando I created a custom guideline and skill to make sure Copilot uses the correct commands

Thriddle's avatar
Thriddle's avatar imrandevbd2w agoAI
3
62
Last reply by imrandevbd 2w ago
ramonph's avatar

The PATCH method is not supported for route jobs/105. Supported methods: GET, HEAD.

hi, I hope somebody can help me out with this. I have been trying and trying but still could figure it out. Excerpts from my calling form : form method="POST" action="/jobs/{{ $job->id }}" @csrf @method('patch') ... button type="submit" class="rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg- indigo-500

ramonph's avatar
ramonph's avatar SSJ4K2w agoLaravel
6
6
Last reply by SSJ4K 2w ago
SergioGregorutti's avatar

[5.2] Get current route name in Blade templates

Hi all, This seems to be a simple question but I can't figure out how to do it. I need to know what is the current route name in a Blade template to be able to do something like: @if ($currentRoute == 'homepage') ... @endif Im using Laravel 5.2 Can someone help me on this? Thanks in advance!

SergioGregorutti's avatar
SergioGregorutti's avatar Snapey2w agoLaravel
8
174
Last reply by Snapey 2w ago
garaekz's avatar

Canio, a different approach to Laravel PDF rendering: readiness contract instead of timing heuristics

I want to share an approach more than promote a project, because I'm curious what this community thinks of the tradeoff. The problem: every HTML-to-PDF setup I've shipped on headless Chrome has the same failure mode. The renderer decides when to capture (network idle + an arbitrary delay), but only the application knows when the document is genuinely done, webfonts swapped in,

garaekz's avatar
garaekz's avatar garaekz2w agoLaravel
2
1
Last reply by garaekz 2w ago
Shivamyadav's avatar

Is it good having approximately 900 lines of a function?

My senior uses the repository patterns to work with the controller business logics. In the function he has the create and update method to create/ update the resource and other side effects to perform actions whenever resource gets created or updated and both were approximately 900 of lines. That was really too hard to understand it and overwhelming for me to just looking at th

Shivamyadav's avatar
Shivamyadav's avatar Shivamyada...3w agoGuides
20
79
Last reply by Shivamyadav 3w ago
boradatti's avatar

Herd vanity domain not passing oAuth validation

I'm trying to locally test Google oAuth, but Google won't let me generate credentials because it's not happy with the domain name: šŸ”“ Invalid Redirect: must end with a public top-level domain (such as .com or .org). šŸ”“ Invalid Redirect: must use a domain that is a valid top private domain. It doesn't complain if I use a localhost domain, so I could use that, but I don't know wh

boradatti's avatar
boradatti's avatar MegamindAm...3w agoLaravel
4
1
Last reply by MegamindAme 3w ago
rseletsk's avatar

Laravel-Zero CLI app:build information

Have a working laravel-zero CLI app with the entire app structure (ex: vendor directory). Is using appName app:build 'best' to generate a 'packaged' executable for the user?

rseletsk's avatar
rseletsk's avatar LaryAI3w agoDesign
1
1
Last reply by LaryAI 3w ago
rseletsk's avatar

Executing app resulting from app:build results in a runtime error

Executing app resulting from app:build results in a runtime error: PHP Fatal error: Uncaught Dotenv\Exception\InvalidPathException: Unable to read any of the environment file(s) at ... bootstrap/../.env].

rseletsk's avatar
rseletsk's avatar rseletsk3w agoDesign
18
37
Last reply by rseletsk 3w ago
Mega_Aleksandar's avatar

SEO testing on local

Hi everyone, Do you know of any tools or software which can test out SEO in a dev environment, aka. on local? What I am trying to achieve is to create offers to potential customers with current / live SEO that they have vs what I am bringing to the table. Thank you, Mega Aleksandar

Mega_Aleksandar's avatar
Mega_Aleksandar's avatar quintinmor...3w agoGeneral
8
26
Last reply by quintinmorrow 3w ago
earmsby's avatar

Filament Widget that gets data from WooCommerce via API

I have set up a connection to a WooCommerce shop's API in my Filament app as follows: In my .env file: WOO_STORE_URL="https://digital.subitomusic.com" WOO_CONSUMER_KEY="ck_XXXXXXXXXXXXXXXXXXXXXXXXXX" WOO_CONSUMER_SECRET="cs_XXXXXXXXXXXXXXXXXXXXXXXXXX" In my config/services files: 'woocommerce' => [ 'url' => env('WOO_STORE_URL'),

earmsby's avatar
earmsby's avatar earmsby3w agoFilament
7
49
Last reply by earmsby 3w ago
lukeboy_2002's avatar

Route register.store

I created a new Laravel site with the starter kit Livewire. I want to make changes in de route voor register. But this Livewire is in the folder vendor. I can't Publish. How to make a new route or publish.

lukeboy_2002's avatar
lukeboy_2002's avatar LaryAI3w agoLivewire
1
1
Last reply by LaryAI 3w ago
LewisHead's avatar

What agent skills do you use for Laravel inertia react typescript?

Look for some new skills to try to make my development cleaner and not have to do as much cleaning up for claude

LewisHead's avatar
LewisHead's avatar mamtabanko...3w agoGeneral
2
23
Last reply by mamtabankoti4-design 3w ago
SigalZ's avatar

Laravel Excel custom validation

Hello, Using laravel 12 and the package: Laravel Excel. https://docs.laravel-excel.com/3.1/imports/validation.html I have an excel file with these column names: Batch, Time, Profile, Beans, In (g), Out (g) Example for the Time value: 2026-05-17 13:39 Example for the Profile value: Brazil-5kg-Med-03 I need to check a table in the database for existing records for: roasted_date:

SigalZ's avatar
SigalZ's avatar SigalZ3w agoLaravel
3
6
Last reply by SigalZ 3w ago
lukeboy_2002's avatar

verify mail

In a new laravel site/ app with starter kit the registration is not what I expect. After registration, the user must register his email. So in My model I added MustVerifyMail. After registering, the https://{mysite}/verify-email page will be loaded. You can choose to log out or resend verification mail. The email comes in. but can only work in the open browser where you have no

lukeboy_2002's avatar
lukeboy_2002's avatar LaryAI3w agoLaravel
5
7
Last reply by LaryAI 3w ago
adamnet's avatar

I accidentally deleted a Controller. How to recover?

Hello. I accidentally deleted a Controller. The last backup was two days ago. These two days I had made too many improvements and changes in this Controller. Is there any case to recover?? Is there some Recycle Bin for Larave?

adamnet's avatar
adamnet's avatar vincent150...3w agoLaravel
14
287
Last reply by vincent15000 3w ago
SigalZ's avatar

exclude_if rule does not work

Hello, Using laravel 12 and the package: Laravel Excel. https://docs.laravel-excel.com/3.1/imports/validation.html I have an excel file with these column names: Batch, Time, Profile, Beans, In (g), Out (g) I need to validate rows only if the value in the Batch column is not: SUM The problem I have is that the validations happen even if the value in the column is SUM. I get the

SigalZ's avatar
SigalZ's avatar SigalZ3w agoLaravel
4
22
Last reply by SigalZ 3w ago
motinska94's avatar

Is Laracasts ever going to do PPP adjustment on membership prices? It's incredibly tough to afford in some countries.

First off, a massive thank you to Jeffrey, Jeremy and other Laracasts tutors. The free courses on YouTube and this platform have taught me a lot. Both in PHP/Laravel, and programming in general. I live in Turkey, and as an unemployed student it's really, REALLY difficult for me to justify the membership fee. On one of the tutorials I recently watched on youtube - it was either

motinska94's avatar
motinska94's avatar martinbean3w agoGeneral
2
11
Last reply by martinbean 3w ago
anon34372's avatar

Is Laravel 'faster' than Ruby on Rails?

Hi, Does anyone have a legit benchmark of the two frameworks lets say for a simple CRUD app? I'm asking because PHP7 seems to run significantly faster than Ruby and makes me wonder if that also means that Laravel is faster than RoR. It's just curiosity! Both frameworks are the best tools out there that power the web! Love them :D Press 'F' to pay respects to Taylor. PS: I'm dev

anon34372's avatar
anon34372's avatar rordevelop...3w agoGeneral
11
4
Last reply by rordevelopernik 3w ago
SigalZ's avatar

Laravel Excel package validation help request

Hello, Using laravel 12 and the package: Laravel Excel. https://docs.laravel-excel.com/3.1/imports/validation.html I have an excel file with these column names: Batch, Time, Profile, Beans, In (g), Out (g) I need to check that the value in the 'Beans' column exists in the database and that there is a value in the 'Out (g)' column. The documentation says: "Configuring the v

SigalZ's avatar
SigalZ's avatar SigalZ3w agoLaravel
3
1
Last reply by SigalZ 3w ago
razu2021's avatar

broadcasting/auth

i am using laravel 12 inertia and vue js , when i implement Realtime Broadcast with Reverb its showing this type of error . i am trying very hard but i am failed , so i kindly request every expert pleas give me proper doucmentatin

razu2021's avatar
razu2021's avatar imrandevbd3w agoLaravel
1
1
Last reply by imrandevbd 3w ago
ghabriel25's avatar

Might be same content but one is free other is for subscribers?

Hi, @JeffreyWay. From the transcript, I find that these videos have same context (correct me if I'm wrong) https://laracasts.com/series/laravel-authentication-techniques/episodes/1 https://laracasts.com/series/jeffreys-larabits/episodes/32 Is it intended to make it one free and one for subscribers only?

ghabriel25's avatar
ghabriel25's avatar JeffreyWay3w agoFeedback
1
1
Last reply by JeffreyWay 3w ago
SigalZ's avatar

Can't browse site after clonning git repository

Hello, Using Laravel 12, I cloned my github repository into c:\wamp64\www I ran: composer install composer update npm install I copied my .env file from a previous folder I had for this project. I ran yarn dev, got these errors: (!) Failed to run dependency scan. Skipping dependency pre-bundling. Error: failed to resolve rollupOptions.input value: "resources/admin/sass/adm

SigalZ's avatar
SigalZ's avatar SigalZ3w agoGeneral
4
1
Last reply by SigalZ 3w ago
arfred's avatar

IT9

maatwebsite/excel for Excel exports. composer require maatwebsite/excel php artisan vendor:publish --provider="Maatwebsite\Excel\ExcelServiceProvider" --tag=config App/Models Product ---------------------------------------------------

arfred's avatar
arfred's avatar jlrdw4w agoLaravel
6
1
Last reply by jlrdw 4w ago
ahmadbadpey's avatar

automatically currency rate conversion in laravel models

I have a Product model included sale_price , purchase_price.this fields holds values as IRR (Iranian rial) currency, means that when an operator user is saving a product ,specifies Sale and Purchase prices in IRR currency in default. Now in many situations I want to show a list of all products along with their prices that default is same currency that I stored in DB. Then I wa

ahmadbadpey's avatar
ahmadbadpey's avatar benjamin34...4w agoGuides
4
1
Last reply by benjamin345 4w 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.