Synaplan
开源 AI 软件平台,面向企业:自托管 AI 代理,符合 GDPR 的聊天机器人小部件,RAG 知识库,WhatsApp 与 Outlook AI,MCP,多模型路由。支持 Docker、Kubernetes 或在 Germ 托管。
AI 翻译
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Master data · Purchases · Sales · Stock Ledger · Adjustments · Reports (Excel/PDF)
Features · Screenshots · Quick Start · Testing · Reports · Architecture
stocks table are rejectedrecalculateTotals(); never trusted from the client| Dashboard | Products |
|---|---|
| Purchases | Sales |
|---|---|
| Stock Overview | Profit & Loss |
|---|---|
| Purchase form (Repeater + live totals) |
|---|
| Package | Version |
|---|---|
| laravel/framework | 13.x |
| filament/filament | 5.x |
| livewire/livewire | 4.x (via Filament) |
| maatwebsite/excel | 4.x |
| barryvdh/laravel-dompdf | 3.x |
| laravel/sail | 1.x |
| PHP | 8.3+ (8.5 in Docker image) |
| MySQL | 8.4 |
docker compose up -d
Login at http://localhost/admin — [email protected] / password
docker compose run --rm composer-sync composer install # vendor/ into ext4 volume (fast on Windows)
docker compose exec laravel.test php artisan migrate --seed
docker compose exec laravel.test php artisan storage:link
docker compose exec laravel.test sh -c 'chown -R sail:sail storage bootstrap/cache'
docker compose exec laravel.test sh -c 'php artisan config:cache && php artisan route:cache && php artisan view:cache && php artisan event:cache && php artisan icons:cache'
Windows note:
./vendor/bin/sailrejects Git Bash/MinGW hosts. Usedocker compose+docker compose exec laravel.test php artisan ...directly.
infrastructure/zz-app-cli.ini — opcache + realpath cache for the CLI server (mounted into the container)vendor-nodel named volume — composer deps on ext4 instead of the Windows mountcaddy reverse proxy — gzip/zstd for all responsesAfter code changes: php artisan optimize:clear then re-run the cache commands.
docker compose exec laravel.test php artisan test
CI (GitHub Actions) runs on every push/PR:
--test)config:cache / route:cache / view:cacheStock · Purchase · Sale · Profit & Loss — each report page supports filtering (date range, warehouse, category), and exports (xlsx via maatwebsite/excel, PDF via barryvdh/laravel-dompdf) honor the active filters.
app/Filament/Resources/** — one directory per resource (Pages, Schemas, Tables)app/Reports/** — extracted query modules backing each report + its exports (exports are thin adapters)app/Observers/** — stock ledger automation: PurchaseItemObserver, SaleItemObserver, StockAdjustmentObserverapp/Filament/Pages/*Report.php — report pages composing the query modulesInventoryDemoSeeder seeds categories (parent/child), units, suppliers, customers, warehouses, products, purchases, sales and adjustments so every screen has data.