定制 ephemeralbits/phpionner-recipes 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

ephemeralbits/phpionner-recipes

最新稳定版本:v0.3.0

Composer 安装命令:

composer require ephemeralbits/phpionner-recipes

包简介

PHPionner recipes

README 文档

README

PHPionner opinionated recipes for quick and easy PHP server configuration for Deployer.

You can use PHPionner or require these recipes directly into your project.

It installs:

  • PHP 8.2 or 8.3
  • Nginx
  • PostgreSQL
  • Redis
  • Supervisor
  • Node.js 22, 21, 20 or 18
  • Certbot

Also, it can do some common tasks:

  • Create sites
  • Create users
  • Configure a floating IP
  • Set up Laravel schedule and queues
  • Set up SSL certificates via Let's Encrypt

Getting Started

composer require ephemeralbits/phpionner-recipes
./vendor/bin/dep init

Modify deploy.php adding:

// Add this after the require statements
require './vendor/ephemeralbits/phpionner-recipes/recipes/autoload.php';
// Add this after set() calls
set('phpionner/user_name', 'deployer');

Replace deployer for your desired username.

Configure a new server

Configures a new server to serve PHP projects. It requires Ubuntu 22.04 LTS and a root user.

./vendor/bin/dep phpionner/configure -o remote_user=root

Create a new site

./vendor/bin/dep phpionner/site:create

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-20