{"id":21950672,"url":"https://github.com/gueff/phormix","last_synced_at":"2025-04-23T03:21:58.051Z","repository":{"id":62513217,"uuid":"72245450","full_name":"gueff/phormix","owner":"gueff","description":"PHP HTML-Forms Checker, Validator, Sanitizer","archived":false,"fork":false,"pushed_at":"2019-03-05T10:33:58.000Z","size":47,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T21:32:19.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gueff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-28T21:54:23.000Z","updated_at":"2023-05-29T14:15:40.000Z","dependencies_parsed_at":"2022-11-02T10:16:55.928Z","dependency_job_id":null,"html_url":"https://github.com/gueff/phormix","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gueff%2Fphormix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gueff%2Fphormix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gueff%2Fphormix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gueff%2Fphormix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gueff","download_url":"https://codeload.github.com/gueff/phormix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250361360,"owners_count":21417878,"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":[],"created_at":"2024-11-29T06:08:20.781Z","updated_at":"2025-04-23T03:21:58.033Z","avatar_url":"https://github.com/gueff.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Phormix\n\n## Overview\n- [English, EN](#EN)\n- [Deutsch, DE](#DE)\n\n\u003ca id=\"EN\"\u003e\u003c/a\u003e[EN]\n\n**Check HTML-Forms with Phormix**\n\n## Installation\ncreate the composer.json file with following content:\n~~~\n{\n    \"require\": {\n        \"gueff/phormix\":\"dev-master\"\n    }\n}\n~~~\nrun installation\n~~~\n$ composer install\n~~~\n\n## Process\n- create a configuration file (JSON), which describes the later HTML form\n- Build the HTML Form\n- At backend* Phormix will check the transmitted data from the HTML form against the configuration\n\n_\\*Receiving Unit (Crontroller, PHP-Script o.a.)_\n\n\n## Usage\nExamples:\n\n~~~php\n// instantiate, \n// load config, run\n$oPhormix = new \\Phormix();\n$oPhormix-\u003einit('/var/www/App/formular.json')-\u003erun();\n\n// instantiate, \n// set different session prefix,\n// load config, run\n$oPhormix = new \\Phormix();\n$oPhormix-\u003esetSessionPrefix('myPhormixCheck')\n-\u003einit('/var/www/App/formular.json')\n-\u003erun();\n\n// instantiate, \n// load config,\n// set a certain identifier\n// run\n$oPhormix = new \\Phormix();\n$oPhormix-\u003esetConfigArrayFromJsonFile($sAbsPathToConfigFile)\n-\u003esetIdentifier($sIdentifier)\n-\u003erun();\n\n// instantiate, \n// set a proper array as config,\n// set a certain identifier\n// run\n$oPhormix = new \\Phormix();\n$oPhormix-\u003esetConfigArray($aArray)\n-\u003esetIdentifier($sIdentifier)\n-\u003erun();\n\n// instantiate, \n// set different session prefix,\n// set a proper array as config,\n// set a certain identifier\n// run\n$oPhormix = new \\Phormix();\n$oPhormix-\u003esetSessionPrefix('myPhormixCheck')\n-\u003esetConfigArray($sAbsPathToConfigFile)\n-\u003esetIdentifier($sIdentifier)\n-\u003erun();\n~~~\n\n\n___\n\n\u003ca id=\"DE\"\u003e\u003c/a\u003e[DE]\n\n**HTML-Formulare checken mit Phormix**\n\n## Installation\n\nErstelle die Datei composer.json mit folgendem Inhalt:\n~~~\n{\n    \"require\": {\n        \"gueff/phormix\":\"dev-master\"\n    }\n}\n~~~\nFühre Installation durch\n~~~\n$ composer install\n~~~\n\n## Ablauf\n\n- Eine Konfiguration (JSON) anlegen, in der das spätere HTML-Formular beschrieben wird\n- HTML-Formular bauen\n- Im Backend* wird das gesendete HTML-Formular mitels Phormix nun gegen die Konfiguration gecheckt.\n\n_\\*Entgegennehmende Stelle (Crontroller, PHP-Script o.a.)_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgueff%2Fphormix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgueff%2Fphormix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgueff%2Fphormix/lists"}