🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:ProjectResource.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class ProjectResource extends Model { protected $fillable = [ 'project_id', 'uploaded_by', 'title', 'description', 'file_path', 'file_type', 'file_size', 'is_downloadable', ]; protected $casts = [ 'is_downloadable' => 'boolean', ]; public function project() { return $this->belongsTo(Project::class); } public function uploader() { return $this->belongsTo(User::class, 'uploaded_by'); } }
Save Changes
Cancel
Create New File
Create New Folder