定制 jimmygle/homesteader 二次开发

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

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

jimmygle/homesteader

最新稳定版本:1.0.1

Composer 安装命令:

composer require jimmygle/homesteader

包简介

A Laravel Homestead toolkit to help with automation.

README 文档

README

Build Status

Homesteader is a composer package with automation in mind. It's meant to simplify the workflow associated with Homestead, and it includes a suite of commands to manipulate Homestead's configuration file. Down the road it will assist with tasks like updating host machine hosts files, automatic reprovisioning, and fully automated scripting of Homestead configurations that can live in individual projects (think composer.json for Homestead).

Why

Homestead is a great use of a couple virtualization tools. But when using it within a team environment, the less steps needed to get the dev environment setup, the better. So this package attempts to simplify the homestead workflow even more than it already is. The ultimate goal is to ship a "homesteader" config file with a project and have it setup the local Homestead environment with a single command.

Installation

This package requires Composer and Homestead.

composer global require "jimmygle/homesteader=~1.0"

Usage

The below commands are representative of current functionality.

Homestead Config Manipulation

Global options:

  • --file (-f) [path/to/Homestead.yaml] - Custom homestead config file path
  • --no-interaction (-n) - Runs unattended (some command specific options will be required)

Output current homestead configuration:

homesteader config:show

Add new folders set:

homesteader config:new folder [--host /path/on/local] [--homestead /path/in/homestead]

Add new sites set:

homesteader config:new site [--domain example.local] [--homestead /path/in/homestead/public]

Add new database:

homesteader config:new database [--name example_db]

Add new variable set:

homesteader config:new variable [--key VAR] [--value test]

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-15