承接 20steps/bricks-installer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

20steps/bricks-installer

Composer 安装命令:

composer require 20steps/bricks-installer

包简介

The official installer to create projects based on the Bricks platform by 20steps.

README 文档

README

Build Status Tested PHP versions Dependency Status Packagist version

This is the official installer to start new projects based on the Bricks platform by 20steps.

Installing the installer

This step is only needed the first time you use the installer:

Linux and Mac OS X

$ sudo curl -LsS https://bricks.20steps.de/downloads/installer -o /usr/local/bin/bricks
$ sudo chmod a+x /usr/local/bin/bricks

Windows

c:\> php -r "file_put_contents('bricks', file_get_contents('https://bricks.20steps.de/downloads/installer'));"

Move the downloaded bricks file to your projects directory and execute it as follows:

c:\> php bricks

If you prefer to create a global bricks command, execute the following:

c:\> (echo @ECHO OFF & echo php "%~dp0bricks" %*) > bricks.bat

Then, move both files (bricks and bricks.bat) to any location included in your execution path. Now you can run the bricks command anywhere on your system.

Installing without the Installer

If you can't use the Bricks Installer for any reason, you can create Bricks applications with Composer, the dependency manager used by modern PHP applications.

If you don't have Composer installed in your computer, start by installing Composer globally.

Then, execute the create-project command to create a new Bricks application based on its latest stable version:

composer create-project 20steps/bricks-platform-standard-edition my_project_name

To create a new Bricks application based on the latest non-stable version execute:

composer create-project 20steps/bricks-platform-standard-edition my_project_name dev-master

Using the installer

1. Start a new project with the latest stable Bricks version

Execute the new command and provide the name of your project as the only argument:

# Linux, Mac OS X
$ bricks new my_project

# Windows
c:\> php bricks new my_project

2. Start a new project with the latest Bricks LTS (Long Term Support) version

Execute the new command and provide the name of your project as the first argument and lts as the second argument. The installer will automatically select the most recent LTS (Long Term Support) version available:

# Linux, Mac OS X
$ bricks new my_project lts

# Windows
c:\> php bricks new my_project lts

3. Start a new project based on a specific Bricks branch

Execute the new command and provide the name of your project as the first argument and the branch number as the second argument. The installer will automatically select the most recent version available for the given branch:

# Linux, Mac OS X
$ bricks new my_project 2.8

# Windows
c:\> php bricks new my_project 2.8

4. Start a new project based on a specific Bricks version

Execute the new command and provide the name of your project as the first argument and the exact Bricks version as the second argument:

# Linux, Mac OS X
$ bricks new my_project 2.8.1

# Windows
c:\> php bricks new my_project 2.8.1

5. Install the Bricks demo application

The Bricks Demo is a reference application developed using the official Bricks Best Practices:

# Linux, Mac OS X
$ bricks demo

# Windows
c:\> php bricks demo

Updating the installer

New versions of the Bricks Installer are released regularly. To update your installer version, execute the following command:

# Linux, Mac OS X
$ bricks self-update

# Windows
c:\> php bricks self-update

NOTE

If your system requires the use of a proxy server to download contents, the installer tries to guess the best proxy settings from the HTTP_PROXY and http_proxy environment variables. Make sure any of them is set before executing the Bricks Installer.

Troubleshooting

SSL and certificates issues on Windows systems

If you experience any error related with SSL or security certificates when using the Bricks Installer on Windows systems:

  1. Check that the OpenSSL extension is enabled in your php.ini configuration:
; make sure that the following line is uncommented
extension=php_openssl.dll
  1. Check that the path to the file that contains the security certificates exists and is defined in php.ini:
openssl.cafile=C:/path/to/cacert.pem

If you can't locate the cacert.pem file anywhere on your system, you can safely download it from the official website of the cURL project: http://curl.haxx.se/ca/cacert.pem

Author

Sponsored by

20steps - Digital Full Service Boutique

20steps/bricks-installer 适用场景与选型建议

20steps/bricks-installer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 21 次下载、GitHub Stars 达 0, 最近一次更新时间为 2016 年 12 月 14 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「php」 「installer」 「platform」 「bricks」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 20steps/bricks-installer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 20steps/bricks-installer 我们能提供哪些服务?
定制开发 / 二次开发

基于 20steps/bricks-installer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 21
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 15
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-12-14