Файловый менеджер - Редактировать - /home/clickysoft/public_html/somni.clickysoft.net/database/seeders/PackageSeeder.php
Назад
<?php namespace Database\Seeders; use Illuminate\Database\Console\Seeds\WithoutModelEvents; use Illuminate\Database\Seeder; use App\Models\Package; class PackageSeeder extends Seeder { /** * Run the database seeds. */ public function run(): void { $package = [ [ 'package_name' => 'Free', 'price_monthly' => 0, 'price_yearly' => 0, 'options' => '', 'status' => '', 'yearly_discount' => 0, 'units_limit' => '5', 'status' => 1, 'slug' => 'free', 'stripe_price_id' => 'price_1O0PAHLkh9gjNb7JbtgAUGhw', 'extra_unit_charges' => 0 ], [ 'package_name' => 'Basic', 'price_monthly' => 10, 'price_yearly' => 120, 'options' => '', 'status' => '', 'yearly_discount' => 0, 'units_limit' => '15', 'status' => 1, 'slug' => 'basic', 'stripe_price_id' => 'price_1O0PAILkh9gjNb7JWB7YQ3lK', 'extra_unit_charges' => 2 ], [ 'package_name' => 'Premium', 'price_monthly' => 15, 'price_yearly' => 180, 'options' => '', 'status' => '', 'yearly_discount' => 0, 'units_limit' => '25', 'status' => 1, 'slug' => 'premium', 'stripe_price_id' => null, 'extra_unit_charges' => 5 ], [ 'package_name' => 'Unlimited', 'price_monthly' => 28, 'price_yearly' => 336, 'options' => '', 'status' => '', 'yearly_discount' => 0, 'units_limit' => '99999', 'status' => 1, 'slug' => 'unlimited', 'stripe_price_id' => null, 'extra_unit_charges' => 10 ] ]; Package::insert($package); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка