freshwork/console
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
freshwork/console 适用场景与选型建议
freshwork/console 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 23 次下载、GitHub Stars 达 1, 最近一次更新时间为 2015 年 02 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「console」 「laravel」 「freshwork」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 freshwork/console 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 freshwork/console 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 freshwork/console 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
This class provides you with an easy-to-use interface to progress bars.
A PHP composer package with Chilean validations, common variables, etc. (RUT, IVA, ETC). Ready for Laravel. Grande chile ctm :)
A Laravel package to retrieve data from Google Search Console
Additional artisan commands for Laravel
A table generator class for the PHP CLI.
Alfabank REST API integration
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-14