cradlephp/cradle-developer
Composer 安装命令:
composer require cradlephp/cradle-developer
包简介
Cradle PHP Developer Tools
关键字:
README 文档
README
Command line interface for programmers developing on CradlePHP
Install
If you already installed Cradle, you may not need to install this because it should be already included.
$ composer require cradlephp/cradle-developer
$ bin/cradle cradlephp/cradle-developer install
$ cradle connect app-1- Connects to a server. see:config/deploy.php$ cradle help- General help menu$ cradle install- Installs Cradle$ cradle install -f | --force- Installs Cradle force overriding files$ cradle install --skip-sql- Installs Cradle, but skips the sql part$ cradle install --skip-versioning- Installs Cradle but skips updating the packages$ cradle install -h 127.0.0.1 -u root -p 123- Installs Cradle with the given database information$ cradle server -h 127.0.0.1 -p 8888- Starts a PHP server$ cradle update- Updates all packages to their latest version$ cradle deploy- Deploy Commands$ cradle deploy help- Deploy help menu$ cradle deploy production- Deploys code to server see:config/deploy.php$ cradle deploy s3- Uploads static assets to S3. see:config/services.php$ cradle deploy s3 --include-yarn- Uploads static assets to S3 including Yarn folder$ cradle deploy s3 --include-upload- Uploads static assets to S3 including upload folder$ cradle elastic- ElasticSearch Commands$ cradle elastic help- ElasticSearch help menu$ cradle elastic flush- Truncates the entire index$ cradle elastic flush foo/bar- Truncates the indexes related to given package$ cradle elastic map- Submits the ElasticSearch schema$ cradle elastic map foo/bar- Submits the ElasticSearch schema related to given package$ cradle elastic populate- Populates all the indexes of every package$ cradle elastic populate foo/bar- Populates the indexes given the package$ cradle package- Package commands$ cradle package help- Package help menu$ cradle package install foo/bar- Installs a package from packagist$ cradle package install foo/bar 1.0.0- Installs a specific version from packagist$ cradle package list- Lists out all the available packages$ cradle package remove foo/bar- Removes a package$ cradle package search foobar- Searches packagist for a particular package$ cradle package update foo/bar- Updates a package to its latest version$ cradle package update foo/bar 1.0.0- Updates package to a particular version$ cradle redis- Redis Commands$ cradle redis help- Redis help menu$ cradle redis flush- Truncates the entire cache$ cradle redis flush foo/bar- Truncates cache related to given package$ cradle sql- SQL Commands$ cradle sql help- SQL help menu$ cradle sql build- Rebuilds the database schema$ cradle sql build foo/bar- Rebuilds the database tables related to given package$ cradle sql flush- Truncates the entire database$ cradle sql flush foo/bar- Truncates database tables related to given package$ cradle sql populate- Populates all the tables of every package$ cradle sql populate foo/bar- Populates the tables given the package
Contributing to Cradle PHP
Thank you for considering to contribute to Cradle PHP.
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.
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.
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.
- Fork the Repository.
- Fire up your local terminal and switch to the version you would like to contribute to.
- Make your changes.
- Always make sure to sign-off (-s) on all commits made (git commit -s -m "Commit message")
Making pull requests
- Please ensure to run phpunit and phpcs before making a pull request.
- Push your code to your remote forked version.
- Go back to your forked version on GitHub and submit a pull request.
- All pull requests will be passed to Travis CI to be tested. Also note that Coveralls is also used to analyze the coverage of your contribution.
cradlephp/cradle-developer 适用场景与选型建议
cradlephp/cradle-developer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.33k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2018 年 03 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「cradle」 「cradlephp」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 cradlephp/cradle-developer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 cradlephp/cradle-developer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 cradlephp/cradle-developer 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Schema, Relations, Object events and controllers for Cradle
Auth Schema for CradlePHP
Role Schema for CradlePHP
History Schema for CradlePHP
Profile Schema for CradlePHP
Admin UI for Cradle PHP
统计信息
- 总下载量: 1.33k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 13
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-17