Add SealShare file sharing application with encryption, branding, auth, Docker, and Octane support

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
surtic86
2026-02-13 11:43:20 +01:00
co-authored by Claude Opus 4.6
parent 4790be8142
commit e37b322dde
120 changed files with 6346 additions and 1459 deletions
+39
View File
@@ -0,0 +1,39 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class ShareFile extends Model
{
use HasFactory;
protected $fillable = [
'share_id',
'original_name',
'relative_path',
'stored_path',
'file_size',
'mime_type',
];
/**
* @return array<string, string>
*/
protected function casts(): array
{
return [
'file_size' => 'integer',
];
}
/**
* @return BelongsTo<Share, $this>
*/
public function share(): BelongsTo
{
return $this->belongsTo(Share::class);
}
}