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

tomasnorre's avatar

Authentication, Email verification and forgotten password

Hi, I have a Laravel 12 application that I have build with no starter kit. I have right now simple registration and login forms. My next steps are to build, email verification into the registration process, and then add the forgotten password functionality. I have been looking a little around. If I start a new Laravel 12 application, is asking for React, Vue or Livewire starter

tomasnorre's avatar
tomasnorre's avatar tomasnorre4mos agoFeedback
3
3
Last reply by tomasnorre 4mos ago
carina312's avatar

download excel-file

Hi guy's, I want to download an excel-file stored in storage/app/private/import via controller-function but everytime i open the downloaded-file I get an error: 'File-Type does not match file-extension'. public function download($path) { $disk = Storage::disk('local'); return Storage::download($path); } I have this problem with .xls and .xlsx Files Can you help me?

carina312's avatar
carina312's avatar Glukinho4mos agoLaravel
8
1
Last reply by Glukinho 4mos ago
rostro-dev's avatar

Illuminate\Http\Request empty when using DELETE,PUT,PATCH verbs

Cashier Stripe Version 16 Laravel Version 12.11 PHP Version 8.4 Database Driver & Version postgres Description When upgrading to laravel cashier 16+ it triggers an update of symfony components and maybe this is laravel specific but the \Illuminate\Http\Request does not have values for $_POST when using DELETE,PUT,PATCH verbs. This causes an error when CSRF token goes to be

rostro-dev's avatar
rostro-dev's avatar rostro-dev4mos agoLaravel
0
2
OndrejOndrej's avatar

inRandomOrder() is stupid naming

Eloquent has: orderBy(xxx) orderByDesc(xxx) MySQL itself has: ORDER BY ORDER BY RANDOM So one would logically assume that Eloquent would have orderByRandom(), or at the very least an alias. Nope - page 500 every single time I’m trying to order by random. Whoever came up with inRandomOrder() must have been a pure genius.

OndrejOndrej's avatar
OndrejOndrej's avatar kevinbui4mos agoEloquent
5
1
Last reply by kevinbui 4mos ago
Ravidev's avatar

Playback Speed

Hi @LaracastTeam, New player is good. But, I am missing Playback Speed of 0.75X. If possible please bring it back. Thanks.

Ravidev's avatar
Ravidev's avatar Ravidev4mos agoFeedback
2
1
Last reply by Ravidev 4mos ago
Shivamyadav's avatar

How to push the failed job from the custom table to the queue?

My app service provider queue event store the failed jobs to the custom table Queue::failing(function (JobFailed $event) use ($queueJobStatusRepository) { /** Extracting the current job class name */ $job = $event->job; $payload = $job->payload(); $action = $payload['displayName']; /** Extracting the current job

Shivamyadav's avatar
Shivamyadav's avatar kevinbui4mos agoLaravel
10
8
Last reply by kevinbui 4mos ago
AnatoliyViktorovich's avatar

Laravel and Telegram bot

I'd like to build a Laravel app that would interact with Telegram (send messages to my clients, get messages from them, store them in database, etc). I'm a total noob in that so I would be very grateful if you could give me a link to a good tutorial.

AnatoliyViktorovich's avatar
AnatoliyViktorovich's avatar danielhe4r...4mos agoLaravel
4
148
Last reply by danielhe4rt 4mos ago
vincent15000's avatar

How to force update Livewire assets while upgrading from version 2 to 3 ?

Hello, I just had a dysfunction while upgrading from Livewire 2 to 3. I have published the assets and now it works fine. But when installing a new Livewire 3 application, the assets are not published and it works fine. So there is probably another way than publishing the assets ? What do you suggest me ? Thanks a lot ;). V

vincent15000's avatar
vincent15000's avatar vincent150...4mos agoLivewire
2
1
Last reply by vincent15000 4mos ago
vincent15000's avatar

Upgrade from Livewire 2 to Livewire 3

Hello, I'm upgrading an old personal project. And I have this problem. It's my Entreprise select component. <select id="entreprise_id" wire:model.live="entreprise_id" name="entreprise_id" @if ($readonly) disabled @endif> <option value="">Choisir une entreprise</option> @foreach ($entreprises as $entre

vincent15000's avatar
vincent15000's avatar vincent150...4mos agoLivewire
2
1
Last reply by vincent15000 4mos ago
ian_h's avatar

Video comments not appearing

@JeffreyWay I posted a reply in the comments on this video (it was a reply to the reply to my OP). The comments count says 4 but there's only 3 visible.. seems my 2nd post there is hidden somewhere?

ian_h's avatar
ian_h's avatar ian_h4mos agoFeedback
2
1
Last reply by ian_h 4mos ago
FireBlade's avatar

Ugly welcome.blade.php page in production following this guide- https://docs.docker.com/guides/frameworks/laravel/production-setup/#create-a-dockerfile-for-nginx-production

I have a single-page app using only the welcome.blade.php file: <!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>{{ config('app.name', 'La

FireBlade's avatar
FireBlade's avatar Tray24mos agoCode Review
5
1
Last reply by Tray2 4mos ago
k_nadam's avatar

Dynamic assets preloading (LCP issue)

Hello everyone, Say we are working on a Laravel + Inertiajs + Vue application and we have an article page. this article page contains a cover image that is being shown above the fold... so on Pagespeed test it shows LCP issue from this image. How can we potentially solve it. Here are things I tried: 1- Putting fetchpriority="high" loading="eager" on the <

k_nadam's avatar
k_nadam's avatar k_nadam4mos agoLaravel
0
1
ezmiks's avatar

Zod object to plain object (with default values)

Is there a way for zodobject to be converted to a plain object? Like, I have the following schema: const schema = z.object({ name: z.string().default(someResource?.name ?? null), email: z.email().optional().default(someResource?.email ?? null), address: z.string().optional().default(someResource?.address ?? null), }) and I have tried: schema.parse({}) and it seems like it g

ezmiks's avatar
ezmiks's avatar ezmiks4mos agoVue
0
1
laracoft's avatar

How to have multiple handlers for events?

In one of package's service provider, I have Event::listen(MessageSending::class, MyHandler::class); Then I added https://github.com/jdavidbakr/mail-tracker which also tries to listen to MessageSending (https://github.com/jdavidbakr/mail-tracker/blob/96244f621f1201385a2645152cabb414b2a7fde3/src/MailTrackerServiceProvider.php#L36), however, only MyHandler is called. How do I ma

laracoft's avatar
laracoft's avatar Glukinho4mos agoLaravel
10
1
Last reply by Glukinho 4mos ago
chithira-kumar's avatar

Laravel showing "403 Forbidden" after assigning roles — works only after cache clear

Hi everyone, Recently we are facing an issue in our Laravel application related to role-based access. Scenario: A new user registers successfully. Admin assigns roles/permissions to that user (roles are correctly saved in the database). When the user logs in immediately after the role assignment, the system shows a 403 Forbidden error. If we run cache clear commands (php artisa

chithira-kumar's avatar
chithira-kumar's avatar Glukinho4mos agoLaravel
1
1
Last reply by Glukinho 4mos ago
lararara's avatar

Disabling fortify registeration in Laravel 12 Vue starter kit with Wayfinder gives build errors /resources/js/routes/verification

Using Laravel 12, Vue Starter kit, Laravel auth with Wayfinder will give build errors after removing fortify features, like registration. config/fortify.php:147 'features' => [ // Features::registration(), Features::resetPasswords(), Features::emailVerification(), Features::twoFactorAuthentication([ 'confirm' => true,

lararara's avatar
lararara's avatar lararara4mos agoLaravel
0
1
wemersonrv's avatar

Laravel Pint is not properly indenting custom Blade directives

My Laravel Pint setup is not indenting some custom Blade directives correctly. I am using custom Blade directives that behave like structural blocks (similar to @if, @foreach, etc.). However, when running Pint, the indentation inside these directives is removed or flattened. Here is a simplified example. Original Blade code (properly indented) <div class="mt-8 grid grid

wemersonrv's avatar
wemersonrv's avatar wemersonrv4mos agoGeneral
2
1
Last reply by wemersonrv 4mos ago
iftekhs's avatar

How to turn uploaded svg image into base64 png image?

Hi, I am receiving an SVG image from the user and I want to turn that image into a base64 encoded image. how can I do that?

iftekhs's avatar
iftekhs's avatar Specialday...4mos agoCode Review
8
1
Last reply by Specialdaydeal 4mos ago
amitsolanki24_'s avatar

Convert svg to png/jpeg/jpg/webp

How can I convert svg to (png,jpeg,jpg and webp) in any mention format using pure javascript? Anyone have any idea?

amitsolanki24_'s avatar
amitsolanki24_'s avatar Specialday...4mos agoJavaScript
5
5
Last reply by Specialdaydeal 4mos ago
shez1983's avatar

Dusk - env file is overwriiten but i still see local as env?

so i have created an .env.dusk.local, which replaces .env during dusk tests. I can see that happen if i look at the folder in my IDE. The issue is when i want to check the env, it always returns local.. when it should return testing (which is what i have in my dusk env).

shez1983's avatar
shez1983's avatar shez19834mos agoTesting
0
1
madprabh's avatar

Can I invoke AI SDK this way?

Het Folks, Can I invoke AI ADK in this manner. I need specific providers with specific models. I am using it as an associative array. $response = (new CustomResearch) ->prompt( 'Here are the instructions...\n\n' . $prompt . ' and the data:' . $jsonData, provider: [ 'openai' =>

madprabh's avatar
madprabh's avatar LaryAI4mos agoLaravel
1
1
Last reply by LaryAI 4mos ago
FireBlade's avatar

Images not showing in Laravel Docker production following this guide: https://docs.docker.com/guides/frameworks/laravel/production-setup/#create-a-dockerfile-for-nginx-production

This is my NGINX production Dockerfile : FROM debian AS builder # Install Node.js and build tools RUN apt-get update && apt-get install -y --no-install-recommends \ curl \ nodejs \ npm \ && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # Set working directory WORKDIR /var/www # Copy Laravel application code COPY ./src/

FireBlade's avatar
FireBlade's avatar simotion4mos agoDevOps
3
1
Last reply by simotion 4mos ago
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 simotion4mos agoGeneral
6
1
Last reply by simotion 4mos 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 LaryAI4mos agoGeneral
1
1
Last reply by LaryAI 4mos 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 LaryAI4mos agoAI
1
602
Last reply by LaryAI 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.