svpernova09/homesteadskeleton 问题修复 & 功能扩展

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

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

svpernova09/homesteadskeleton

最新稳定版本:1.0.9

Composer 安装命令:

composer create-project svpernova09/homesteadskeleton

包简介

Project specific Laravel Homestead vagrant environment

README 文档

README

This project is depreciated.

You can now easily install homestead per project

The purpose of this is package is to easily provide the Laravel Homestead Vagrant environment without having to rely on using the homestead command line application. Another use case would be if you do not have / do not want PHP locally installed on your system.

You will at least need composer on your system to use this artisan command. If you do not have / want composer on your local system, copy everything in the files/ folder to the root of your Laravel project.

Installation

Add "svpernova09/homesteadskeleton": "1.0.* to your project's composer.json in require-dev. Run composer update Add to app/Providers/AppServiceProvider.php register() method:

if ($this->app->environment() == 'local') {
    $this->app->register('Svpernova09\HomesteadSkeleton\HomesteadSkeletonServiceProvider');
}

Usage (Laravel)

Once you have followed the installation instructions:php artisan homestead:create.

This is designed to only be run once. If you run the command again you will overwrite files and any changes will be lost. You are free to remove this package from Composer once you have your Homestead files in your project root.

If you would like to specify the name of the virtual machine: (Optional)

This must be a unique or you will get a vagrant warning.

php artisan homestead:create --name=YourName

If you would like to specify the host name of the virtual machine:

php artisan homestead:create --hostname=YourHostName

For further Homestead configuration see Official Documentation

Usage (Non-Laravel)

You don't have to use Laravel to take advantage of this package. You just need to manually copy the files from vendor/svpernova/homesteadskeleton/files to your project root.

Ensure you change vb.name in scripts/homestead.rb to something unique.

Caution

If you plan on using this in multiple projects or alongside Homestead's normal usage, ensure you change vb.name in src/scripts/homestead.rb to something unique.

If you ran php artisan homestead:create the vb.name will be something from the Inspire command.

统计信息

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

GitHub 信息

  • Stars: 33
  • Watchers: 3
  • Forks: 2
  • 开发语言: Ruby

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-06-05