{"id":28259396,"url":"https://github.com/yanpenalva/code-challenge-php-freela","last_synced_at":"2025-10-10T05:15:26.359Z","repository":{"id":238575036,"uuid":"796814702","full_name":"yanpenalva/code-challenge-php-freela","owner":"yanpenalva","description":"This project includes two PHP scripts designed for a freelance code challenge to print \"X\" and \"cross\" patterns on the command line. The scripts are executed within a Docker container, eliminating the need to install PHP locally. ","archived":false,"fork":false,"pushed_at":"2024-05-06T17:48:27.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T01:36:25.728Z","etag":null,"topics":["php","php8","script"],"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/yanpenalva.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-06T17:22:06.000Z","updated_at":"2024-06-03T19:21:02.000Z","dependencies_parsed_at":"2024-05-06T19:57:55.514Z","dependency_job_id":"5af5c1c4-e6ce-428d-938c-28174d0e7285","html_url":"https://github.com/yanpenalva/code-challenge-php-freela","commit_stats":null,"previous_names":["yanbrasiliano/code-challenge-php-freela","yanpenalva/code-challenge-php-freela"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yanpenalva/code-challenge-php-freela","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanpenalva%2Fcode-challenge-php-freela","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanpenalva%2Fcode-challenge-php-freela/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanpenalva%2Fcode-challenge-php-freela/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanpenalva%2Fcode-challenge-php-freela/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanpenalva","download_url":"https://codeload.github.com/yanpenalva/code-challenge-php-freela/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanpenalva%2Fcode-challenge-php-freela/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002882,"owners_count":26083468,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["php","php8","script"],"created_at":"2025-05-20T03:10:50.558Z","updated_at":"2025-10-10T05:15:26.354Z","avatar_url":"https://github.com/yanpenalva.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# PHP Pattern Printer Code Challenge\n\nThe challenge is to print an \"X\" and a \"cross\" on the command line and this project includes two PHP scripts that print \"cross\" and \"X\" patterns in the console for a freelance code challenge. The scripts are designed to be run in a Docker container to avoid the need to install PHP on your local machine.\n\n## Prerequisites\n\n- Docker\n\n## Usage Instructions\n\n1. Build the Docker image:\n\n```bash\ndocker build -t php-pattern-printer .\n```\n\n2. Run the container to print the cross:\n\n```bash\ndocker run --rm php-pattern-printer php printCross.php\n```\n\n3. Run the container to print the \"X\":\n\n```bash\ndocker run --rm php-pattern-printer php printX.php\n```\n\nThese commands allow you to view the output of the scripts directly in your console. Docker takes care of all the environment setup needed to run the PHP scripts.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanpenalva%2Fcode-challenge-php-freela","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanpenalva%2Fcode-challenge-php-freela","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanpenalva%2Fcode-challenge-php-freela/lists"}