{{__("Platform statistics")}}

Last 24 hours

{{__("Users registered")}}: {{\App\Providers\DashboardServiceProvider::getLast24HoursRegisteredUsersCount()}}

{{__("New posts")}}: {{\App\Providers\DashboardServiceProvider::getLast24HoursPostsCount()}}

{{__("New subscriptions")}}: {{\App\Providers\DashboardServiceProvider::getLast24HoursSubscriptionsCount()}}

{{__("Total earned")}}: {{\App\Providers\SettingsServiceProvider::getWebsiteCurrencySymbol()}}{{\App\Providers\DashboardServiceProvider::getLast24HoursTotalEarned()}}

Payments

{{__("Active subscriptions")}}: {{\App\Providers\DashboardServiceProvider::getActiveSubscriptionsCount()}}

{{__("Subscriptions revenue")}}: {{\App\Providers\SettingsServiceProvider::getWebsiteCurrencySymbol()}}{{\App\Providers\DashboardServiceProvider::getTotalSubscriptionsRevenue()}}

{{__("Total transactions")}}: {{\App\Providers\DashboardServiceProvider::getTotalTransactionsCount()}}

{{__("Total amount earned")}}: {{\App\Providers\SettingsServiceProvider::getWebsiteCurrencySymbol()}}{{\App\Providers\DashboardServiceProvider::getTotalEarned()}}

Content

{{__("Total posts")}}: {{\App\Providers\DashboardServiceProvider::getPostsCount()}}

{{__("Post attachments")}}: {{\App\Providers\DashboardServiceProvider::getPostAttachmentsCount()}}

{{__("Post comments")}}: {{\App\Providers\DashboardServiceProvider::getPostCommentsCount()}}

{{__("Total reactions")}}: {{\App\Providers\DashboardServiceProvider::getReactionsCount()}}

@include('elements.admin.value_card', [ 'name' => 'newUsersValue', 'route' => 'admin.metrics.new.users.value', 'size' => 'col-xs-12 col-sm-12 col-md-6 col-lg-6', 'title' => __('New users'), 'form' => [ 'trans' => [__('Day'), __('Days')], 'function' => 'count', 'ranges' => [1, 7, 14, 30, 60, 90], 'range' => 30 ] ]) @include('elements.admin.partition_card', [ 'name' => 'rolesPerUser', 'chart' => [ 'size' => 180, 'color' => '203, 12, 159', 'total' => true ], 'route' => 'admin.metrics.new.users.partition', 'size' => 'col-xs-12 col-sm-12 col-md-6 col-lg-6', 'title' => __('Users roles'), 'form' => [ 'function' => 'count', ] ])
@include('elements.admin.trend_card', [ 'name' => 'newUsersTrend', 'chart' => [ 'size' => 100, 'color_start' => 'rgba(255, 105, 220)', 'color_stop' => 'rgba(207, 60, 172, 0.5)', 'border_color' => 'rgba(203, 12, 159, 0.7)', 'point_radius' => 10, 'total' => true ], 'route' => 'admin.metrics.new.users.trend', 'size' => 'col-12 col-lg-12 mb-4', 'title' => __('Registered users'), 'form' => [ 'trans' => [__('Month'), __('Months')], 'function' => 'count', 'unit' => 'month', 'ranges' => [3, 6, 12], 'range' => 12 ] ])