restore composer.json, add mysqli extension

This commit is contained in:
2026-04-15 17:02:52 +05:00
commit 77cf56a348
4317 changed files with 1397107 additions and 0 deletions

24
app/Models/Currency.php Executable file
View File

@@ -0,0 +1,24 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Currency extends Model
{
protected $fillable = [
'dollar',
'euro',
'sum'
];
protected $casts = [
'dollar' => 'integer',
'euro' => 'integer',
];
public static function getCurrency()
{
return self::latest()->first();
}
}