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
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
- Create a new package
lion new <name>
- 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
其他信息
- 授权协议: MIT
- 更新时间: 2023-04-03