{"id":22044779,"url":"https://github.com/cradlephp/cradle-developer","last_synced_at":"2026-02-07T01:02:18.754Z","repository":{"id":56958552,"uuid":"124830905","full_name":"CradlePHP/cradle-developer","owner":"CradlePHP","description":"Cradle developer CLI and tools","archived":false,"fork":false,"pushed_at":"2020-06-20T10:41:34.000Z","size":119,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-17T17:40:05.837Z","etag":null,"topics":["cli","cradle","cradlephp","v2","v3-prototype"],"latest_commit_sha":null,"homepage":"http://cradlephp.github.io","language":"PHP","has_issues":false,"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/CradlePHP.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}},"created_at":"2018-03-12T03:49:55.000Z","updated_at":"2023-02-16T02:27:06.000Z","dependencies_parsed_at":"2022-08-21T09:50:27.901Z","dependency_job_id":null,"html_url":"https://github.com/CradlePHP/cradle-developer","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/CradlePHP/cradle-developer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CradlePHP%2Fcradle-developer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CradlePHP%2Fcradle-developer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CradlePHP%2Fcradle-developer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CradlePHP%2Fcradle-developer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CradlePHP","download_url":"https://codeload.github.com/CradlePHP/cradle-developer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CradlePHP%2Fcradle-developer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265016870,"owners_count":23698386,"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","cradle","cradlephp","v2","v3-prototype"],"created_at":"2024-11-30T13:08:32.141Z","updated_at":"2026-02-07T01:02:18.683Z","avatar_url":"https://github.com/CradlePHP.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Developer Tools\n\nCommand line interface for programmers developing on CradlePHP\n\n## Install\n\nIf you already installed Cradle, you may not need to install this because it\nshould be already included.\n\n```\n$ composer require cradlephp/cradle-developer\n$ bin/cradle cradlephp/cradle-developer install\n```\n\n - `$ cradle connect app-1` - Connects to a server. see: `config/deploy.php`\n - `$ cradle help` - General help menu\n - `$ cradle install` - Installs Cradle\n - `$ cradle install -f | --force` - Installs Cradle force overriding files\n - `$ cradle install --skip-sql` - Installs Cradle, but skips the sql part\n - `$ cradle install --skip-versioning` - Installs Cradle but skips updating the packages\n - `$ cradle install -h 127.0.0.1 -u root -p 123` - Installs Cradle with the given database information\n - `$ cradle server -h 127.0.0.1 -p 8888` - Starts a PHP server\n - `$ cradle update` - Updates all packages to their latest version\n - `$ cradle deploy` - Deploy Commands\n - `$ cradle deploy help` - Deploy help menu\n - `$ cradle deploy production` - Deploys code to server see: `config/deploy.php`\n - `$ cradle deploy s3` - Uploads static assets to S3. see: `config/services.php`\n - `$ cradle deploy s3 --include-yarn` - Uploads static assets to S3 including Yarn folder\n - `$ cradle deploy s3 --include-upload` - Uploads static assets to S3 including upload folder\n - `$ cradle elastic` - ElasticSearch Commands\n - `$ cradle elastic help` - ElasticSearch help menu\n - `$ cradle elastic flush` - Truncates the entire index\n - `$ cradle elastic flush foo/bar` - Truncates the indexes related to given package\n - `$ cradle elastic map` - Submits the ElasticSearch schema\n - `$ cradle elastic map foo/bar` - Submits the ElasticSearch schema related to given package\n - `$ cradle elastic populate` - Populates all the indexes of every package\n - `$ cradle elastic populate foo/bar` - Populates the indexes given the package\n - `$ cradle package` - Package commands\n - `$ cradle package help` - Package help menu\n - `$ cradle package install foo/bar` - Installs a package from packagist\n - `$ cradle package install foo/bar 1.0.0` - Installs a specific version from packagist\n - `$ cradle package list` - Lists out all the available packages\n - `$ cradle package remove foo/bar` - Removes a package\n - `$ cradle package search foobar` - Searches packagist for a particular package\n - `$ cradle package update foo/bar` - Updates a package to its latest version\n - `$ cradle package update foo/bar 1.0.0` - Updates package to a particular version\n - `$ cradle redis` - Redis Commands\n - `$ cradle redis help` - Redis help menu\n - `$ cradle redis flush` - Truncates the entire cache\n - `$ cradle redis flush foo/bar` - Truncates cache related to given package\n - `$ cradle sql` - SQL Commands\n - `$ cradle sql help` - SQL help menu\n - `$ cradle sql build` - Rebuilds the database schema\n - `$ cradle sql build foo/bar` - Rebuilds the database tables related to given package\n - `$ cradle sql flush` - Truncates the entire database\n - `$ cradle sql flush foo/bar` - Truncates database tables related to given package\n - `$ cradle sql populate` - Populates all the tables of every package\n - `$ cradle sql populate foo/bar` - Populates the tables given the package\n\n ----\n\n \u003ca name=\"contributing\"\u003e\u003c/a\u003e\n # Contributing to Cradle PHP\n\n Thank you for considering to contribute to Cradle PHP.\n\n Please DO NOT create issues in this repository. The official issue tracker is located @ https://github.com/CradlePHP/cradle/issues . Any issues created here will *most likely* be ignored.\n\n Please be aware that master branch contains all edge releases of the current version. Please check the version you are working with and find the corresponding branch. For example `v1.1.1` can be in the `1.1` branch.\n\n Bug fixes will be reviewed as soon as possible. Minor features will also be considered, but give me time to review it and get back to you. Major features will **only** be considered on the `master` branch.\n\n 1. Fork the Repository.\n 2. Fire up your local terminal and switch to the version you would like to\n contribute to.\n 3. Make your changes.\n 4. Always make sure to sign-off (-s) on all commits made (git commit -s -m \"Commit message\")\n\n ## Making pull requests\n\n 1. Please ensure to run [phpunit](https://phpunit.de/) and\n [phpcs](https://github.com/squizlabs/PHP_CodeSniffer) before making a pull request.\n 2. Push your code to your remote forked version.\n 3. Go back to your forked version on GitHub and submit a pull request.\n 4. All pull requests will be passed to [Travis CI](https://travis-ci.org/CradlePHP/cradle-developer) to be tested. Also note that [Coveralls](https://coveralls.io/github/CradlePHP/cradle-developer) is also used to analyze the coverage of your contribution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcradlephp%2Fcradle-developer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcradlephp%2Fcradle-developer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcradlephp%2Fcradle-developer/lists"}