{"id":37841038,"url":"https://github.com/gitrust/phpevent","last_synced_at":"2026-01-16T16:00:13.166Z","repository":{"id":242127632,"uuid":"808754147","full_name":"gitrust/phpevent","owner":"gitrust","description":"a simple PHP (MVC) application to manage private events","archived":false,"fork":false,"pushed_at":"2024-05-31T19:06:33.000Z","size":1305,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-01T20:29:25.920Z","etag":null,"topics":["events","mvc","mvc-pattern","php8"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitrust.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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":"2024-05-31T18:38:38.000Z","updated_at":"2024-05-31T19:06:36.000Z","dependencies_parsed_at":"2024-05-31T20:22:14.572Z","dependency_job_id":null,"html_url":"https://github.com/gitrust/phpevent","commit_stats":null,"previous_names":["gitrust/phpevent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gitrust/phpevent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitrust%2Fphpevent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitrust%2Fphpevent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitrust%2Fphpevent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitrust%2Fphpevent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitrust","download_url":"https://codeload.github.com/gitrust/phpevent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitrust%2Fphpevent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["events","mvc","mvc-pattern","php8"],"created_at":"2026-01-16T16:00:10.158Z","updated_at":"2026-01-16T16:00:12.985Z","avatar_url":"https://github.com/gitrust.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phpenv\n\na simple PHP (MVC) application to manage private events\n\n## Features\n\n- Manage users\n- Manage events\n- Share event URI via QR code\n- Let users contribute to event (Tasks, Foodlist)\n\n\n# Requirements\n\n- PHP 8\n- MySQL 5.7\n\n# Configuration\n\n- Check and adapt initial configuration in `public/config.php`\n- Setup a MySQL database and initialize with data from `sql/` folder\n\n\n# Start Application\n\n## Events Application\n\n- localhost:8080\n- Initial user is \"user\" with password \"pass\"\n\n## PHPAdmin\n\n- localhost:8081\n- see `docker-compose.yml` for DB credentials\n\n\n# Play around in docker\n\n## Install docker\n\n### Docker for Windows\n\n* Download Docker-Toolbox for windows\n* set up your PATH environment properly\n\n#### Shared folder\n\nuse that shared folder in your docker compose file:\n\n\tvolumes:\n\t\t- /projectname:/some/dir/in/container/project_name\n    \n### or Docker for Windows\n\n* install Docker for Windows \n\t\n\n### Docker configuration\n\t\t\nCreate your docker-compose environment file \".env\" in `docker` directory\n\n* initialize `WWW_FOLDER` variable\n* initialize `SQL_SCRIPTS_FOLDER` variable\n\n# Composer\n\n```\ncomposer config platform.php 8.0.7\n\ndocker run -it --rm -v %cd%:/app composer status\n```\n\n# Shared hosting\n\nAlways avoid putting anything except the application’s public files into a document root directory, such as _public\\_html_, _htdocs_ or similar.\n\nWhen working with application configuration, never expose sensitive configuration files in public. To avoid that, place the configuration files outside the publicly accessible document root on the server, so they are not accessible over web https://example.com/config/config.yml\n\n## Project structure\n\n```\nproject/\n    public/             # public assets and static resources\n        index.php       # bootstrap application\n        css/            # Stylesheets\n        js/             # Javascript\n        images/\n    config/             # App configuration\n        config.yml\n    sql/                # Database schema\n    src/                \n        controllers/    # MVC Controller\n        core/           # Base classes\n        helpers/        # Helper classes\n        models/         # DB model classes\n        views/          # UI Views\n    vendor/             # Third-party libraries, generated by PHP composer\n```\n\n\n# Debug\n\nDebugging in PHP\n\n```\n$var_dump($var)\n```\n\n# Reference\n\n- https://github.com/jakubboucek/docker-lamp-devstack\n- https://github.com/fauria/docker-lamp\n- https://docs.php.earth/faq/misc/structure/\n- http://getskeleton.com\n- https://github.com/rev42/tfpdf/blob/master/src/tFPDF.php\n- https://codepen.io/marcus-nightingale/pen/ExOgYyr\n- https://codepen.io/GreeCoon/pen/KvqMjN (text area counter)\n- https://cookie-bar.eu/ (Cookie consent)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitrust%2Fphpevent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitrust%2Fphpevent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitrust%2Fphpevent/lists"}