承接 justinwickenheiser/lion-cli 相关项目开发

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

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

justinwickenheiser/lion-cli

最新稳定版本:v0.1.1

Composer 安装命令:

composer require justinwickenheiser/lion-cli

包简介

A CLI to quickly spin up boiler-plate packages for gvsu-webteam development.

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License

Lion CLI was created to quickly spin up boiler-plate packages for gvsu-webteam development. It was built on Laravel-Zero.

Install

composer global require justinwickenheiser/lion-cli

Make sure your composer's global bin directory is in your PATH by adding the following line to your .bash_profile:

export PATH=$(composer global config bin-dir --absolute --quiet):$PATH

Check to see if the install worked. You may have to close and reopen the terminal.

lion -v

Local Build

If you wish to clone the repo and do a local build, then you can run the following commands:

php lion app:build --build-version=0.0.0
ln -s ./builds/lion /usr/local/lib/lion-cli/bin/lion
sudo ln -s ../lib/lion-cli/bin/lion /usr/local/bin/lion

Usage

  1. Create a new package
lion new <name>
  1. Use the artisan make:<xyz> commands that you are familiar with.
lion make:model Hotel -cr
lion make:migration create_hotels_table

Package Structure

The structure of packages generated with lion mirrors that of Laravel projects. The exception is Laravel projects have /app, where the package will use /src.

package/
|
+-- config/
|
+-- database/
|   |
|   +-- migrations/
|
+-- resources/
|   |
|   +-- views/
|
+-- routes/
|      web.php
|
+-- src/
|   |
|   +-- Facades/
|   |
|   +-- Http/
|   |	|
|   |	+-- Controllers/
|   |
|   +-- Models/
|   |
|   +-- Providers/
|
+-- tests/

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-03