承接 petebishwhip/native-cli 相关项目开发

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

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

petebishwhip/native-cli

最新稳定版本:1.4.2

Composer 安装命令:

composer require petebishwhip/native-cli

包简介

CLI helper for NativePHP Projects

README 文档

README

NativePHP CLI is a command-line tool to create and manage Laravel projects with NativePHP integration.

Installation

To install NativePHP CLI, you need to have PHP and Composer installed on your system.

composer global require nativecli/nativecli

Usage

Create a New Project

To create a new Laravel project with NativePHP, use the new command:

nativecli new <project-name>

View Logs

Display logs from Laravel and native layers with the logs command:

# Display last 50 log entries
nativecli logs

# Follow logs in real-time (like tail -f)
nativecli logs --follow

# Filter by log level
nativecli logs --level=error

# Limit number of lines
nativecli logs --lines=100

# Filter by source (laravel, native, all)
nativecli logs --source=laravel

# Filter by date range
nativecli logs --start-date="2025-01-01" --end-date="2025-01-15"

# Combine options
nativecli logs --level=error --lines=20 --follow

The logs command automatically detects log locations for both development and production environments:

  • Development: storage/logs/laravel.log
  • Production (Desktop): Platform-specific appdata directories based on your NATIVEPHP_APP_ID

Documentation & Command References

For more detailed documentation, visit NativeCLI Documentation.

Sponsor

We welcome sponsorships which help us to continue providine Free & Open-Source software and tools to you!

GitHub Sponsors

With thanks to our current sponsors...

  • Be the first!

License

This project is licensed under the MIT License.

统计信息

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

GitHub 信息

  • Stars: 25
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固