feat: initial project setup with Laravel 12 and Filament v4

This commit is contained in:
SajjadMahmoody
2026-04-03 17:25:17 +03:30
parent eca5d74b36
commit 09ee1cb743
324 changed files with 78304 additions and 23 deletions
+23
View File
@@ -0,0 +1,23 @@
[package]
name = "matab-panel"
version = "1.0.0"
description = "سیستم مدیریت مطب"
authors = []
license = ""
repository = ""
default-run = "matab-panel"
edition = "2021"
rust-version = "1.77.2"
[lib]
name = "matab_panel_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2", features = [] }
[dependencies]
tauri = { version = "2", features = [] }
tauri-plugin-opener = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
+3
View File
@@ -0,0 +1,3 @@
fn main() {
tauri_build::build()
}
+9
View File
@@ -0,0 +1,9 @@
{
"identifier": "default",
"description": "Default capability for Matab Panel",
"windows": ["main"],
"permissions": [
"core:default",
"opener:default"
]
}
View File
+7
View File
@@ -0,0 +1,7 @@
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_opener::init())
.run(tauri::generate_context!())
.expect("error while running tauri application");
}
+6
View File
@@ -0,0 +1,6 @@
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
matab_panel_lib::run()
}
+42
View File
@@ -0,0 +1,42 @@
{
"productName": "Matab Panel",
"version": "1.0.0",
"identifier": "com.matab.panel",
"build": {
"beforeDevCommand": "php artisan serve",
"devUrl": "http://localhost:8000",
"frontendDist": "../public"
},
"app": {
"windows": [
{
"title": "سیستم مدیریت مطب",
"width": 1280,
"height": 800,
"minWidth": 800,
"minHeight": 600,
"resizable": true,
"fullscreen": false
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"windows": {
"webviewInstallMode": {
"type": "offlineInstaller"
}
}
}
}