承接 perspikapps/php-easy-deployer 相关项目开发

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

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

perspikapps/php-easy-deployer

Composer 安装命令:

composer require perspikapps/php-easy-deployer

包简介

A deployer.org recipe with url-based easy configuration

README 文档

README

Easy Deployer

Packagist Packagist Packagist

Commitizen friendly semantic-release

Buy me a coffee

This package handles deployement configuration via a deploy.yaml file to define deploy strategy and a .hostmap file to define target strategy

Installation

Install via composer

composer require perspikapps/php-easy-deployer

Usage

Deployment is handled by deployphp/deployer package.

deploy.yaml

See deployer config for details

import:
    - vendor/perspikapps/php-easy-deployer/src/strategy_laravel.php
    - vendor/perspikapps/php-easy-deployer/src/strategy_upload.php
    - vendor/perspikapps/php-easy-deployer/src/strategy_update.php
    - vendor/perspikapps/php-easy-deployer/src/strategy_shared.php
    - vendor/perspikapps/php-easy-deployer/src/strategy.php

config:
    source_path: './'
    shared_dirs:
        - storage
    shared_files:
        - .env
    writable_dirs:
        - bootstrap/cache
        - storage
        - storage/app
        - storage/app/public
        - storage/framework
        - storage/framework/cache
        - storage/framework/sessions
        - storage/framework/views
        - storage/logs
    log_files:
        - storage/logs/*.log

.hostname

Specify ONE deployement target per line as url:

  • url scheme = strategies to activate (+ separated, each must be loaded in import section of deploy.yaml file)
  • url user/host/port = server to deploy to
  • url path = path on server to deploy to
  • url query = deploy options to use
  • url anchor = variables to set in .env file after deployment
upload+laravel://user@dev.exemple.com/var/home/{{hostname}}?bin/php=/opt/plesk/php/7.4/bin/php&writable_mode=chmod#debug=true&env=staging
upload+laravel://user@beta.exemple.com/var/home/{{hostname}}?bin/php=/opt/plesk/php/7.4/bin/php&writable_mode=chmod#debug=true&env=beta
upload+laravel://user@www.exemple.com/var/home/{{hostname}}?bin/php=/opt/plesk/php/7.4/bin/php&writable_mode=chmod#debug=false&env=production

Security

If you discover any security related issues, please email instead of using the issue tracker.

Credits

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-05-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固