pkeidel/laradockctl 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

pkeidel/laradockctl

Composer 安装命令:

composer require pkeidel/laradockctl

包简介

Allows to manage docker container for the development over cli - with help of the amazing laradock project

README 文档

README

MIT License Latest Version on Packagist Total Downloads

This package does the following things:

  • download laradock
  • detect which services are needed and configure them

At the moment it supports:

  • Laravel

For laravel it also does:

  • configure your database connection
  • configure your redis connection

How it works:

ProjectReader instances inspect your project and return what services are needed. Configs are adjusted to start these services via php artisan laradock:up.

Install

composer require pkeidel/laradockctl --dev

Usage

  • laradock:install
  • laradock:configure
  • laradock:up

Commands

There are the following artisan commands:

  • laradock:install Installs laradock from github. If git is found it uses git else it downloads it as zip file
  • laradock:configure Enables the specified services and write the needed configuration to ./.env and laradock/.env
  • laradock:up Starts all your containers
    • laradock:up --only="php-fpm nginx"
  • laradock:exec Executes 'bash' in 'php-fpm' container
    • laradock:exec nginx Executes 'bash' in 'nginx' container
    • laradock:exec nginx --cmd=sh Executes 'sh' in 'nginx' container
  • laradock:logs tail -f log output for all your containers
  • laradock:update Updates laradock. Either via git or via zip download

There are also these commands but you may not need them for normal usage:

  • laradock:setenv Sets the value of a specified key in laradock/.env

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-09-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固