{"id":18555591,"url":"https://github.com/n2ref/core3","last_synced_at":"2025-06-13T22:36:43.305Z","repository":{"id":37998109,"uuid":"423222688","full_name":"n2ref/core3","owner":"n2ref","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-17T19:51:17.000Z","size":40005,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T13:11:17.680Z","etag":null,"topics":["admin","control","crm","framework","managment","system"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/n2ref.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-31T18:00:24.000Z","updated_at":"2025-02-17T19:51:22.000Z","dependencies_parsed_at":"2022-09-20T06:12:45.938Z","dependency_job_id":"60cd5a6b-9cb9-4463-a0e3-3b2dc2a3fe28","html_url":"https://github.com/n2ref/core3","commit_stats":null,"previous_names":["n2ref/core3"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/n2ref/core3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n2ref%2Fcore3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n2ref%2Fcore3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n2ref%2Fcore3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n2ref%2Fcore3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n2ref","download_url":"https://codeload.github.com/n2ref/core3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n2ref%2Fcore3/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259731019,"owners_count":22902956,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["admin","control","crm","framework","managment","system"],"created_at":"2024-11-06T21:27:14.020Z","updated_at":"2025-06-13T22:36:43.280Z","avatar_url":"https://github.com/n2ref.png","language":"PHP","readme":"core3\n=====\nPHP framework for business application.\n\n\nTODO\n------------\n- Отправка email сообщений\n- Отправка логов в телеграм\n- Отслеживание обновления Access токена\n- Авторизация через соц сети\n- Добавление заголовка с Access токеном в запросы от клиента\n- Передача настроек на страницу логина\n- Добавить директорию логов по умолчанию\n\n\nMinimum Server Requirements\n---------------------------\n\n* PHP 7.4 or greater\n* PDO PHP extension\n* MySQL or PostgreSQL Database\n\n\nInstallation\n------------\n1. Put the sources inside *core3* folder anywhere on your server.\n2. Create MySQL schema with [db.sql](db.sql)\n3. Create *admin* user with the same password.\n```sql\n  INSERT INTO `core_role` () VALUES ('');\n  INSERT INTO `core_users` (`login`, `pass`, `visible`, `is_admin_sw`) VALUES ('admin', 'ad7123ebca969de21e49c12a7d69ce25', 'Y', 'Y');\n```\n\n4. Create *index.php* file anywhere inside the document root. Make sure that *core3* folder is available from its place.\n```php\n    try {\n        require_once(\"core3/inc/classes/Error.php\");\n        require_once(\"core3/inc/classes/Init.php\");\n    \n        $init = new Core3\\Init();\n        $init-\u003echeckAuth();\n    \n        echo $init-\u003edispatch();\n    } catch (Core3\\Error $e) {\n        Error::catchException($e);\n    }\n```\n5. Create *conf.ini* file near the index.php\n \n```ini\n[production]\nsystem.database.params.host      = localhost\nsystem.database.params.port      = 3306\nsystem.database.params.dbname    = \u003cdatabase name\u003e\nsystem.database.params.username  = \u003cdatabase user\u003e\nsystem.database.params.password  = \u003cuser password\u003e\n```\n\nUsage\n-----\nOpen URL of new index.php file in your browser. Use 'admin' username and 'admin' password.\n\n\nConfig parameters\n-----------------\n#### General\n- **system.name**                 System name\n- **system.host**                 Host name\n- **system.logo**                 The path to image file\n- **system.timezone**             Timezone name\n- **system.debug.on**             Debug - true or false\n- **system.debug.firephp**        Debug through FirePHP - true or false\n- **system.https**                System use https - true or false\n- **system.theme**                Theme name\n- **system.cache**                The path to the cache folder\n- **system.temp**                 The path to the temp folder\n- **system.include_path**         Added your include path\n- **system.php.path**             Path to php\n- **system.disable.on**           Disable system - true or false\n- **system.disable.title**        The reason for system disable\n- **system.disable.description**  Details of the system disable\n\n#### Database\n- **system.database.params.host**            Host database server\n- **system.database.params.port**            Port number to database server\n- **system.database.params.dbname**          Database name on database server\n- **system.database.params.username**        User name to auth\n- **system.database.params.password**        Password to auth\n- **system.database.params.params.charset**  Charset name to connect database - utf8, utf8mb4 or another\n\n#### Mail\n- **system.mail.server**   Host mail server\n- **system.mail.port**     Port number to mail server\n- **system.mail.auth**     Auth method name - plain, login or crammd5\n- **system.mail.username** User name to auth\n- **system.mail.password** Password to auth\n- **system.mail.ssl**      Secure connection - ssl or tls \n\n#### Log\n- **system.log.on**     Log active - true or false\n- **system.log.writer** Method write log - file or database\n- **system.log.file**   Log file path\n\n#### Ldap\n- **system.ldap.active**                  Ldap active - true or false\n- **system.ldap.root**                    User login with root privileges\n- **system.ldap.admin**                   User login with admin privileges\n- **system.ldap.host**                    Host ldap server\n- **system.ldap.port**                    Port number to ldap server\n- **system.ldap.username**                User name to auth\n- **system.ldap.password**                Password to auth\n- **system.ldap.bindRequiresDn**          Account used to bind if the username is not already in DN form - true or false\n- **system.ldap.baseDn**                  This option is required for most account related operations and should indicate the DN under which accounts are located\n- **system.ldap.accountCanonicalForm**    A small integer indicating the form to which account names should be canonicalized. \n- **system.ldap.accountDomainName**       Domain name\n- **system.ldap.accountDomainNameShort**  Domain sort name\n- **system.ldap.accountFilterFormat**     The LDAP search filter used to search for accounts. \n- **system.ldap.allowEmptyPassword**      Allowed empty password - true or false\n- **system.ldap.useStartTls**             Use start tls - true or false\n- **system.ldap.useSsl**                  Use ssl - true or false\n- **system.ldap.optReferrals**            LDAP client that referrals should be followed - true or false\n- **system.ldap.tryUsernameSplit**        Username should not be split at the first @ or \\ character - true or false\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn2ref%2Fcore3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn2ref%2Fcore3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn2ref%2Fcore3/lists"}