{"id":28261766,"url":"https://github.com/proophsoftware/prooph-cli","last_synced_at":"2025-08-25T00:06:45.198Z","repository":{"id":57045282,"uuid":"49269920","full_name":"proophsoftware/prooph-cli","owner":"proophsoftware","description":"Command line tool for rapid development. Generate aggregates, commands, command handlers, command handler factories and event classes.","archived":false,"fork":false,"pushed_at":"2016-04-28T18:33:26.000Z","size":63,"stargazers_count":13,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-21T11:14:07.684Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://getprooph.org/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/proophsoftware.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-08T12:05:15.000Z","updated_at":"2020-03-27T13:36:22.000Z","dependencies_parsed_at":"2022-08-24T04:50:38.488Z","dependency_job_id":null,"html_url":"https://github.com/proophsoftware/prooph-cli","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/proophsoftware/prooph-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proophsoftware%2Fprooph-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proophsoftware%2Fprooph-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proophsoftware%2Fprooph-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proophsoftware%2Fprooph-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/proophsoftware","download_url":"https://codeload.github.com/proophsoftware/prooph-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/proophsoftware%2Fprooph-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271983235,"owners_count":24853809,"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-08-24T02:00:11.135Z","response_time":111,"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":[],"created_at":"2025-05-20T06:11:46.334Z","updated_at":"2025-08-25T00:06:45.191Z","avatar_url":"https://github.com/proophsoftware.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prooph Command Line Interface\n\n## Overview\nThe prooph command line interface generates classes to increase development speed. For available commands run\n\n```bash\n$ php bin/prooph-cli list\n```\n\nHere is an example output:\n```shell\nAvailable commands:\n  help              Displays help for a command\n  list              Lists commands\n prooph\n  prooph:generate:aggregate  Generates an aggregate class\n  prooph:generate:all        Generates an aggregate, command, command handler, command handler factory and event class.\n  prooph:generate:command    Generates a command, command handler and command handler factory class\n  prooph:generate:event      Generates an event class\n```\n\nThere are available environment variables (see `bin/prooph-cli`) for bash scripts to configure\n`\\Prooph\\Cli\\Console\\Helper\\Psr4Info` for your class meta data.\n\n## Installation\n\nYou can install prooph/prooph-cli via composer by adding `\"proophsoftware/prooph-cli\": \"^0.1\"` as requirement to your composer.json.\n\n## Configuration\nThis tool checks if a [container-interop](https://github.com/container-interop/container-interop) instance is returned\nfrom file `config/container.php`. You can configure the class info metadata by registering an instance with name\n`\\Prooph\\Cli\\Console\\Helper\\ClassInfo` like `\\Prooph\\Cli\\Console\\Helper\\Psr4Info` to the container.\n\nAnother option is to use environment variables to configure your class metadata:\n\n**env variables:**\n\n* `PROOPHCLI_SOURCE_FOLDER`: path to src folder, default current working dir + 'src'\n* `PROOPHCLI_PACKAGE_PREFIX`: namespace of package, default ''\n* `PROOPHCLI_FILE_DOC_BLOCk`: file doc block, default ''\n\n## Support\n\n- Ask questions on [prooph-users](https://groups.google.com/forum/?hl=de#!forum/prooph) mailing list.\n- File issues at [https://github.com/proophsoftware/prooph-cli/issues](https://github.com/proophsoftware/prooph-cli/issues).\n- Say hello in the [prooph gitter](https://gitter.im/prooph/improoph) chat.\n\n## Contribute\n\nPlease feel free to fork and extend existing or add new plugins and send a pull request with your changes!\nTo establish a consistent code quality, please provide unit tests for all your changes and may adapt the documentation.\n\n## License\n\nReleased under the [New BSD License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproophsoftware%2Fprooph-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproophsoftware%2Fprooph-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproophsoftware%2Fprooph-cli/lists"}