Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

deepu07's avatar
Level 11

Laravel Stripe

Hey Mates, I wanna use the cashier (stripe) package in my project. so after installing the cashier package when I run php artisan migrate it is creating new columns in the users table. I would like to create a table out of the users table. how can I achieve that? any help/thoughts that would be great. TIA

0 likes
3 replies
mmdar1's avatar

You can do that by changing the services.php config file and giving a different model but the question is why do you want to have a separate table?

deepu07's avatar
Level 11

@mmdar1 thanks for your reply. I have no of columns in my user's table so I was thinking to create a relationship (user_id and stripe_id relationship)outside of the users table.

mmdar1's avatar

@deepu07 idk why you want to do it because for each user stripe_id would be unique

Please or to participate in this conversation.