{"id":13519621,"url":"https://github.com/certificationy/certificationy-cli","last_synced_at":"2025-12-18T01:00:57.725Z","repository":{"id":18223818,"uuid":"21363947","full_name":"certificationy/certificationy-cli","owner":"certificationy","description":"The CLI tool to train certifications","archived":false,"fork":false,"pushed_at":"2022-10-01T22:00:54.000Z","size":115,"stargazers_count":439,"open_issues_count":2,"forks_count":71,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-03-24T03:38:45.496Z","etag":null,"topics":["cli","cli-application","php","symfony"],"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/certificationy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-30T19:53:33.000Z","updated_at":"2025-03-11T15:10:33.000Z","dependencies_parsed_at":"2022-08-07T09:00:34.742Z","dependency_job_id":null,"html_url":"https://github.com/certificationy/certificationy-cli","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/certificationy%2Fcertificationy-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/certificationy%2Fcertificationy-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/certificationy%2Fcertificationy-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/certificationy%2Fcertificationy-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/certificationy","download_url":"https://codeload.github.com/certificationy/certificationy-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246482866,"owners_count":20784792,"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":["cli","cli-application","php","symfony"],"created_at":"2024-08-01T05:02:01.242Z","updated_at":"2025-12-18T01:00:52.654Z","avatar_url":"https://github.com/certificationy.png","language":"PHP","readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://avatars0.githubusercontent.com/u/8029934?v=3\u0026s=200\"\u003e\n\u003c/p\u003e\n\n# Certificationy CLI\n\n\u003e This is the CLI tool to train on certifications.\n\n## How it looks?\n\n![Certificationy application](https://cloud.githubusercontent.com/assets/1247388/17698070/434e3944-63b9-11e6-80c6-91706dbbea50.png \"Certificationy application\")\n\n## Installation and update\n\n### Using Composer\n```\n$ composer create-project certificationy/certificationy-cli\n$ php certificationy.php\n```\n\n### With Docker and Docker compose\n\n#### Install the project prerequisites\n\nThe project has prerequisites:\n\n- [Docker][docker] (1.12+)\n- [Docker-composer][docker-compose] (1.10+)\n- [GNU make][make]\n\nTo install Docker, refer to the official documentation for your operating system: https://docs.docker.com/install/.\n\nOnce Docker installed, to check its smooth running, run `docker -v`, you should get something like suit:\n\n```\n$ docker -v\nDocker version 1.12.4, build 1564f02\n```\n\u003e You must use the minimum version 1.12 of Docker.\n\nTo install the docker-composer, please also refer to the official documentation: https://docs.docker.com/compose/install/.\n\nOnce docker-composes installed (install it globally to be able and access from anywhere), to check its proper functioning, run `docker-compose -v`, you should get something like suit:\n\n```\n$ docker-compose -v\nDocker-composer version 1.10.0, build 4bd6f1a\n```\n\n\u003e You must use the docker-compose version 1.10 minimum.\n\nA makefile allows you to manipulate the container simply and easily.\nYou have to be able to run `make -v`, which you are ready to choose:\n\n```\n$ make -v\nGNU Make 4.1\nBuilt for x86_64-pc-linux-gnu\nCopyright (C) 1988-2014 Free Software Foundation, Inc.\nGPLv3 + license: GNU GPL version 3 or later \u003chttp://gnu.org/licenses/gpl.html\u003e\nThis is free software: you are allowed to modify and redistribute.\nThere is NO WARRANTY, to the extent of the will of the law.\n```\n\n\u003e **Note**: If you are using Windows, we strongly recommend that you use the Linux console included in\n\u003e Windows 10 (https://docs.microsoft.com/en-us/windows/wsl/install-win10) or to use an emulator for\n\u003e Command to be able to use `make` which will greatly facilitate the work.\n\n#### Using the Container\n\nYou should then be able to run `make` which will show you using the Makefile:\n\n```\n$ make\nstart:           Start the project\nbash:            Go to the bash container of the application\nstop:            Stop docker containers\n```\n\nStart the application with `make start`:\n\n```\n$make start\ndocker-compose build\nBuilding app\nStep 1/19 : FROM php:7.1-fpm-alpine\n7.1-fpm-alpine: Pulling from library/php\n... # pulling image\nSuccessfully built 22ab66e58936\nSuccessfully tagged certificationycli_app:latest\ndocker-compose up -d\nRecreating certificationycli_app_1\ndocker exec -i -t 6929cb80f7a7df579910341c74208e05d6d5548900488c35b41c281da9fe940e /bin/bash\nbash-4.3# \n```\n\nOnce the procedure is complete you can already use the bash of the container.\n\nRun Certificationy CLI;\n\n```\n$ php certificationy.php\n```\n\nTo exit bash docker\n\n```\n$ exit \n```\n\nStop the application with `make stop`:\n\n```\n$ make stop \ndocker-compose kill\nKilling certificationycli_app_1 ... done\n```\n\n\n### Runing it through docker composer\n\n#### Start the container\n\nStart it in daemon mode.\n\n```bash\ndocker compose up -d\n```\n\n#### Run certificationy\n\nExecute this instruction or whatever certificationy you want.\n\n```bash\ndocker exec -it certificationy-cli_app_1 /bin/bash -c \"php certificationy.php start --training\"\n```\n\n#### Stop the container\n\n```bash\ndocker compose down\n```\n\n## More run options\n\n### Select the number of questions\n```\n$ php certificationy.php start --number=10\n```\n\nThe default value is 20.\n\n### List categories\n```\n$ php certificationy.php start --list [-l]\n```\n\nWill list all the categories available.\n\n### Only questions from certain categories\n```\n$ php certificationy.php start \"Automated tests\" \"Bundles\"\n```\n\nWill only get the questions from the categories \"Automated tests\" and \"Bundles\".\n\nUse the category list from [List categories](#list-categories).\n\n### Hide the information that questions are/aren't multiple choice\n```\n$ php certificationy.php start --hide-multiple-choice\n```\n\nAs default, the information will be displayed.\n\n![Multiple choice](https://cloud.githubusercontent.com/assets/795661/3308225/721b5324-f679-11e3-8d9d-62ba32cd8e32.png \"Multiple choice\")\n\n### Training mode: the solution is displayed after each question\n```\n$ php certificationy.php start --training\n```\n\n### Set custom configuration file\n```\n$ bin/certificationy start --config=../config.yml\n```\n\nWill set custom config file.\n\n### And all combined\n```\n$ php certificationy.php start --number=5 --hide-multiple-choice \"Automated tests\" \"Bundles\"\n```\n\n* 5 questions\n* We will hide the information that questions are/aren't multiple choice\n* Only get questions from category \"Automated tests\" and \"Bundles\"\n\n\u003e Note: if you pass `--list [-l]` then you will ONLY get the category list, regarding your other settings.\n\n[docker]: https://www.docker.com\n[docker-compose]: https://docs.docker.com/compose/install/\n[make]: https://www.gnu.org/software/make/\n","funding_links":[],"categories":["PHP","Certification"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcertificationy%2Fcertificationy-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcertificationy%2Fcertificationy-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcertificationy%2Fcertificationy-cli/lists"}