承接 freshwork/console 相关项目开发

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

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

freshwork/console

最新稳定版本:0.1.2

Composer 安装命令:

composer require freshwork/console

包简介

Freshwork console utilities for your Laravel Development workflow

README 文档

README

Do you work with Laravel & Homestead? That package is for you

Install

You need to install homestead 2.0 before usign this package.

composer global require "laravel/homestead=~2.0"

Now you can install freshwork/console

composer global require freshwork/console

Usage

Configuration
freshwork init # Create your configuration file
#And then...
freshwork edit # Opens your configuration file so you can edit it.

Configuration file:

{
	"projects_folder":"~/code", #Local projects folder
	"ssh_connection_cmd":"ssh vagrant@127.0.0.1 -p 2222", # SSH command to connect to homestead
	"homestead_code_directory":"/home/vagrant/code",# Homestead projects folder
	"homestead_ip":"192.168.10.10", # Ip of homestead VM
	"hosts_file":"/private/etc/hosts"
}
#Run this to check available commands
freshwork
#or
freshwork list
New project

You can install a new laravel project.

freshwork project:new client_name.project_name
freshwork project:new client_name/project_name
Default behavior

From the name 'client_name.project_name' we set default a configuration from your project (you can edit them by the command options).

This will install your project folder to:

  • your/projects/folder/client_name/project_name
  • Nginx site folder: your/projects/folder/client_name/project_name/public

Set your development domain to:

  • project_name.app #So you can access your project through http://project_name.app in your local machine.

And then, it will install Laravel in the created directory.

# This will set your project domain as other_domain.local instead of project_name.app
freshwork project:new client_name.project_name -d 'other_domain.local'

Run this to check available options

freshwork project:new -h
Serve project
# Just the same as project:new, but doesn't create the directory nor install Laravel
freshwork project:new client_name.project_name

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固