Skip to content

Subscriptions

The Subscriptions class represents your Steady Subscriptions from members.

php
$subscriptions = steady()->subcriptions();

Methods

Examples

php
$total = steady()->subscriptions()->count();
php
$filteredSubscriptions = steady()->subscriptions()->filter(function ($subscription) {
  return $subscription->monthly_amount < 500;
});
php
$subscription = steady()->subscriptions()->find('5e74bbc1-bf88-47a6-a357-f635dbd3f948');
php
foreach (steady()->subscriptions() as $subscription) {
  echo $subscription->subscriber()->fullname();
}