Initial Laravel 12 + Filament 5 + Octane skeleton

- Laravel 12 base
- Filament 5 (default admin panel)
- Stancl/Tenancy v3 (config + migrations only)
- Spatie Permission
- Octane FrankenPHP runtime
- Sanctum
- Dockerfile multi-stage (composer + node + frankenphp:8.4)
- Entrypoint runs migrations + caches on boot
- .env.example pre-completat cu hosturi interne Coolify
- Health endpoint /up

Repo init pentru multi-tenant SaaS pe Coolify Hetzner.
This commit is contained in:
2026-05-04 12:19:55 +00:00
parent 450dfee187
commit 5e32f82b3a
104 changed files with 14875 additions and 2 deletions
+37 -2
View File
@@ -1,3 +1,38 @@
# autocrm
# AutoCRM
AutoCRM SaaS multi-tenant
SaaS CRM multi-tenant pentru autoservice și magazin piese auto.
## Stack
- Laravel 12 + Filament 5
- Octane (FrankenPHP runtime)
- MariaDB 11.4
- Redis 7
- Stancl/Tenancy v3 (single-DB multi-tenant)
## Domenii
- `service.mir.md` — panou central super-admin
- `<slug>.service.mir.md` — instanță tenant
## Documentație
Vezi `/root/service/docs/00-index.md` în repo-ul părinte (separat de cod) pentru:
- Arhitectură + decizii
- Setup multi-tenant (3 niveluri izolare)
- Toate cele 31 module preluate din prototip
- Operațiuni (deploy / backup / add-tenant / troubleshoot)
## Dev local
```bash
cp .env.example .env
composer install
npm install
php artisan key:generate
php artisan migrate
npm run build
php artisan octane:start --server=frankenphp
```
## Deploy
Push pe `main` → Coolify auto-deploy.
## License
Proprietary. © 2026.