feat: add initial setup for KrothiumAPI with .htaccess and index.php

- Created .htaccess for URL rewriting to route all requests to index.php
- Added index.php to bootstrap the KrothiumAPI with environment variables and configuration settings
- Configured application mode, paths, router settings, session management, error logging, and logging driver
This commit is contained in:
2026-09-09 19:00:36 -03:00
parent aea6825de6
commit 50df29daa7
6 changed files with 1432 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
{
"name": "cybercore/workbloom-erp",
"type": "software",
"require": {
"ext-pdo": "*",
"ext-json": "*",
"php": ">=8.2",
"lcobucci/jwt": "5.6.0",
"ramsey/uuid": "4.7.4",
"firebase/php-jwt": "v6.11.1",
"symfony/var-dumper": "v6.4.26",
"vlucas/phpdotenv": "v5.6.2",
"claudecio/krothiumapi": "v1.0",
"defuse/php-encryption": "v2.4.0"
},
"autoload": {
"psr-4": {
"WorkbloomERP\\": "app/Shared",
"WorkbloomERP\\Module\\": "app/Module"
}
}
}