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

Abhi324's avatar

Unique Nickname during registration (automatically - no user input)

Hello , I need some help with a small issue . When i create a user , i am also creating his profile at the same time and setting his nickname.. The nickname is a combination of the first and last name . However i need the nickname to be unique . Since this is done automatically at registration , i can't ask the user to change it . basically Nick = firstname.lastname During th

Abhi324's avatar
Abhi324's avatar fredricrho...3mos agoLaravel
2
1
Last reply by fredricrhoads 3mos ago
owlondrugsmobile's avatar

How make crud page with modals?

How to make modal windows based on inertia v2 correctly? I tried making them with an ajax request. I also tried to use the philosophy of inertia and return all the page data through the passes, using the same page for rendering. But I still can't figure out how to simplify this process.

owlondrugsmobile's avatar
owlondrugsmobile's avatar owlondrugs...3mos agoInertia
7
5
Last reply by owlondrugsmobile 3mos ago
mhdev3's avatar

Cashier - customer name updates

Hello, I'm using Laravel Cashier 15.7.1. I'm facing an issue where the customer name in Stripe is updating to be the name of the Cardholder, not the name of the Billable (which in my case is a Company). I create the company in Stripe as a customer when they get added to my database; $this->company->createAsStripeCustomer([ 'name' => $this->company->name,

mhdev3's avatar
mhdev3's avatar mhdev33mos agoLaravel
5
6
Last reply by mhdev3 3mos ago
Developer654079525's avatar

MySQL sync

What is the prefered options of syncing a local MySQL db with the production one that sits on a shared hosting? We are using GIT, ssh and Composer to sync the framework, but the MySQL sync is a bit of a pain. Currently, we are using PHPMyAdmin to manually export on the dev machine and drop and import on a live hosting account. How can this be automated so that we don't have tha

Developer654079525's avatar
Developer654079525's avatar Snapey3mos agoLaravel
14
23
Last reply by Snapey 3mos ago
andersb's avatar

Passing attributes from blade component to subcomponents

Does anyone know how to pass attributes from one blade component to another component used in the first component? Simplified example Usage: <x-search class="text-gray-800" value="example" /> // Should render: <input class="rounded-md text-gray-800" placeholder="Search ..." name="search" autocomplete="off&q

andersb's avatar
andersb's avatar jaeggid3mos agoLaravel
6
3
Last reply by jaeggid 3mos ago
Shivamyadav's avatar

How to setup google drive api to upload files from laravel?

Currently I am using the service account and setup the testing route with the credentials and getting this error: Route::get('/drive-test', function () { $service = new \App\Services\GoogleDriveService(); $fileId = $service->upload( storage_path('1770402265.shivam-resume (1).pdf'), 'test.pdf' ); return $service->getFileUrl($fileId); });

Shivamyadav's avatar
Shivamyadav's avatar Shivamyada...3mos agoLaravel
9
442
Last reply by Shivamyadav 3mos ago
anilkumarthakur60's avatar

it possible to listen to a private channel without authentication? (Vue + Laravel Passport)

I’m working on a Vue.js frontend with a Laravel backend (API only, using Passport for authentication). I’m setting up real-time events using broadcasting with reverb, and I ran into a question regarding private channels. Normally, when you use private channels, Laravel expects the client to authenticate using /broadcasting/auth – and that’s working fine when my user is authenti

anilkumarthakur60's avatar
anilkumarthakur60's avatar Bwata3mos agoReverb
7
5
Last reply by Bwata 3mos ago
Abdulbarict's avatar

InvalidArgumentException: No hint path defined for [layouts] (works locally but fails on server)

I am getting this error on my production server, but the same code works perfectly on my local environment. Error: InvalidArgumentException No hint path defined for [layouts]. vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:111 Things I already tried php artisan view:clear php artisan cache:clear php artisan config:clear Any help would be appreciated.

Abdulbarict's avatar
Abdulbarict's avatar Jsanwo643mos agoLivewire
3
3
Last reply by Jsanwo64 3mos ago
jswoolf01's avatar

Query on parent-table condition or child-table condition

Situation: I have three tables: Product (inventory products), Flags (indicator flags that show 'something needs attention'), and Rules (rules for creating Flags). The relationship chain goes product->flags->rules. Each product can have many flags, while each flag belongs to one rule (but one rule can have many flags). We're transitioning to a new way of defining and han

jswoolf01's avatar
jswoolf01's avatar jswoolf013mos agoEloquent
3
5
Last reply by jswoolf01 3mos ago
SiNi_Si's avatar

Seo ai

Hi everyone, looking for search ranking for “motorcycle paint shop”. I know this group is global and want to test a site I have testing with. I built a new site building tool with my seo Ai, any input to see where a global listing would really help. Site I would like to know is “Probike Custom Cycles” Thanks and let me know your country please and number down on google or othe

SiNi_Si's avatar
SiNi_Si's avatar CapPerez3mos agoFeedback
4
1
Last reply by CapPerez 3mos ago
Mikegk's avatar

Localized routes like .../en/

Hi guys, Im searching for a solution to enable routing like: MyDomain.com/en/home MyDomain.com/de/home I found this one here: https://laracasts.com/discuss/channels/laravel/how-to-prefixing-in-routes-for-localization But, there's a function called array_prepend, that I do not know or found in a current Laravel (8) Version (it's also not a native PHP function though). Thanks for

Mikegk's avatar
Mikegk's avatar Richard-pr...3mos agoLaravel
2
1
Last reply by Richard-pro 3mos ago
enadabuzaid's avatar

Laravel PDF (Spatie) + Puppeteer + Forge: “No usable sandbox” error in production

Hey folks 👋 I’m using the spatie/laravel-pdf package (which wraps Browsershot + Puppeteer) to generate PDFs in my Laravel 12 project. It works perfectly on my local machine, but when I deploy it to my Forge provisioned Ubuntu 24.04 server, I get this error when trying to generate a PDF: Error: Failed to launch the browser process! [xxxx/FATAL:zygote_host_impl_linux.cc(132)] No

enadabuzaid's avatar
enadabuzaid's avatar cmackinlay3mos agoLaravel
5
28
Last reply by cmackinlay 3mos ago
wordxpression's avatar

Working with multiple screens... and one in portrait mode

Just wanting to share an experience with my 'multiple screen working'. For already a few years, even do not remember how long, I work 'multiple screen' for both my video editing work (started with using MultiScreen for that) and my programming. And I would not go back to a single screen. I even have a foldable screen to use in combination with my laptop. Recently however one of

wordxpression's avatar
wordxpression's avatar Glukinho3mos agoGeneral
2
3
Last reply by Glukinho 3mos ago
earmsby's avatar

adding icon column to table widget

I have a widget with this code: namespace App\Filament\Widgets; use Filament\Actions\BulkActionGroup; use Filament\Support\Icons\Heroicon; use Filament\Tables\Columns\IconColumn; use Filament\Tables\Columns\TextColumn; use Filament\Tables\Table; use Filament\Widgets\TableWidget; use App\Models\Publication; class PendingPrintJobs extends TableWidget { protected static ?int

earmsby's avatar
earmsby's avatar earmsby3mos agoFilament
3
5
Last reply by earmsby 3mos ago
dan3460's avatar

Failed to Install PHP 8.4 on Ubuntu.

After several hours of trying to install php 8.4 on a new cloud instance of Ubuntu (Digital Ocean Droplet basic) i wasn't able to do so. I'm sure i cannot be the only one with this problem but could not find any article on Goggle. Trying to update apt with ppa:ondrej/php i come to a message: https://ppa.launchpadcontent.net/ondrej/php/ubuntu questing release' does not have a re

dan3460's avatar
dan3460's avatar kupce3mos agoServers
7
354
Last reply by kupce 3mos ago
vincent15000's avatar

Attacks on a personal project developed with Livewire

Hello, For some hours, a personal project is attacked and the logs give me this message. [2026-02-09 15:36:56] production.ERROR: Class "Laravel\Prompts\Terminal" not found {"exception":"[object] (Error(code: 0): Class \"Laravel\\Prompts\\Terminal\" not found at /homepages/2/d877403005/htdocs/ miam/vendor/livewire/livewire/src/Features/SupportM

vincent15000's avatar
vincent15000's avatar kupce3mos agoLaravel
27
3
Last reply by kupce 3mos ago
aidanwatt's avatar

Repeater simple richeditor bug

I've found a bug that seems to have been present since v4. In a form, if you add a repeater, then make it simple, and add a richeditor into it. Stick some data in, save it, then refresh the page, the data doesn't show. Looking in the DB, the data has saved as a flat array. Looking in the console, TipTap has an error and it looks like it's expecting the data to be keyed by what

aidanwatt's avatar
aidanwatt's avatar aidanwatt3mos agoFilament
2
3
Last reply by aidanwatt 3mos ago
vincent15000's avatar

Cookie consent

Hello, I'm used to use https://www.axept.io/ to handle cookies. But I just noticed that Spatie has also a package for cookie consent optimized for Laravel. https://github.com/spatie/laravel-cookie-consent And Spatie suggest to consider these alternatives if we need more configuration options. whitecube/laravel-cookie-consent statikbe/laravel-cookie-consent devrabiul/laravel-co

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoGeneral
3
1
Last reply by vincent15000 3mos ago
jaracas's avatar

Add logic to redirect to different pages on login in Laravel 12 using the built-in auth?

I'm struggling to figure out how to add logic to redirect users after they login to different pages depending on whether they have data in another table or not. I need to be able to redirect users after they login using the Laravel built-in auth (Vue starter kit not using WorkOS). Where exactly is the logic that determines where the user is sent after logging in? Right now no m

jaracas's avatar
jaracas's avatar maywz3mos agoLaravel
10
2,243
Last reply by maywz 3mos ago
BlendM's avatar

Job Position

Hi everyone! As much as random and unrelated this might be, I am still a member of the community and I’am seeking for a job position, currently! I am a very self driven full stack developer mainly using PhP/Laravel and Javascript/React and I have over 4 years of experience in real world companies, including an Ecommerce ecosystem. If anyone is in need of a good developer and a

BlendM's avatar
BlendM's avatar LaryAI3mos agoLaravel
1
7
Last reply by LaryAI 3mos ago
danichangt's avatar

The GET method is not supported for route livewire/update. Supported methods: POST.

I have an application with Laravel 10 and Livewire 3. I'm using Livewire pagination specifically links('pagination::tailwind'), I don´t knot why if I use "links()" all work fine excepet the background color of the current page. The bg only works if I use "links('pagination::tailwind'), but with this way I have this error when I open and close a modal window, I th

danichangt's avatar
danichangt's avatar brunopitho...3mos agoLivewire
12
1
Last reply by brunopithon8 3mos ago
earmsby's avatar

problem creating relation manager

I have this model: namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; class AltWorkId extends Model { protected $fillable = [ 'work_id', 'alt_work_entity_id', 'alt_id_number' ]; public function work(): BelongsTo { return $this->belongsTo(Work::class); }

earmsby's avatar
earmsby's avatar earmsby3mos agoFilament
2
6
Last reply by earmsby 3mos ago
anjanesh's avatar

php artisan migrate attempted running from the first migration file instead of the last one(s)

When I ran php artisan migrate on my server why didn't it automatically run the last migration file ? Why did it try starting from the first one instead ? I checked the database - all but the last one were listed in the migrations table. INFO Running migrations. 2014_10_12_000000_create_users_table .........................................................................

anjanesh's avatar
anjanesh's avatar anjanesh3mos agoLaravel
5
3
Last reply by anjanesh 3mos ago
MThomas's avatar

Where to find the Building Progressive Web Apps Series?

I found this repository online, but could not find the corresponding laracasts series: https://github.com/laracasts/Building-Progressive-Web-Apps-with-Laravel Does anyone know where to find this?

MThomas's avatar
MThomas's avatar MThomas3mos agoGeneral
2
1
Last reply by MThomas 3mos ago
vincent15000's avatar

Fortify and password confirmation

Hello, I'm using Fortify to implement 2FA in an application. Activate or deactivate 2FA needs to type the account password to confirm the action. But => I click on the activation button, the password confirmation form is displayed and then, instead of being redirected to the next route with the QR code to confirm the 2FA configuration, I am redirected to the previous route a

vincent15000's avatar
vincent15000's avatar vincent150...3mos agoLaravel
5
1
Last reply by vincent15000 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.