How do I check if a user has a paid subscription active?

Laraship QuestionsCategory: TechnicalHow do I check if a user has a paid subscription active?
martin asked 6 years ago
via the user() function it doesn't seem to be possible. Thanks
1 Answers
laraship Staff answered 6 years ago
Hello, you can use : 

user()->validSubscriptions()