braga / restapi-template
Szablon rest api dla frameworku Braga
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Type:project
Requires
- php: ~8.2
- ext-mbstring: *
- ext-pdo: *
- ext-pdo_mysql: *
- braga/db: ~4.2
- braga/tools: ~4.3
Requires (Dev)
- braga/dao-generator: ~4.1
README
Tepmplate project for Braga framework
<?php
namespace braga\project\config;
Config::putenv("DBCONNECTIONSTRING", "mysql:host=localhost");
Config::putenv("DBSCHEMA", "project");
Config::putenv("DBUSER", "root");
Config::putenv("DBPASS", "root");
Config::putenv("ISSUERREALMS", "https://auth.rubycon.info/auth/realms/interior");
Config::putenv("GELF_HOST", "");
Config::putenv("GELF_PORT", 0);
Config::putenv("LOG_LEVEL", "DEBUG");
Config::putenv("LOG_FILE", "" . __DIR__ . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . ".." . DIRECTORY_SEPARATOR . "log\\%s_%s.log");
Config::putenv("AUTH_CLIENT_ID", "project");
Config::putenv("AUTH_CLIENT_SECRET", "");