juzaweb/dev-tool 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

juzaweb/dev-tool

Composer 安装命令:

composer require juzaweb/dev-tool

包简介

Develop Tool for Juzaweb CMS

README 文档

README

Develop Tool for Juzaweb CMS. This package provides a set of Artisan commands to help you develop modules and themes for Juzaweb CMS.

Installation

You can install the package via composer:

composer require --dev juzaweb/dev-tool

Requirements

  • PHP ^8.2
  • juzaweb/core ^5.0

Usage

Module Commands

Command Description
php artisan module:make <name> Create a new module.
php artisan module:delete <name> Delete a module.
php artisan module:use <name> Use a module.
php artisan module:unuse <name> Un-use a module.
php artisan module:publish <name> Publish module assets.
php artisan module:publish-config <name> Publish module configuration.
php artisan module:publish-migration <name> Publish module migrations.
php artisan module:publish-translation <name> Publish module translations.

Theme Commands

Command Description
php artisan theme:make <name> Create a new theme.
php artisan theme:download-style <name> Download style template.
php artisan theme:download-template <name> Download a template.
php artisan theme:make-block <name> Create a page block for a theme.
php artisan theme:make-template <name> Create a template for a theme.
php artisan theme:make-view <name> Create a view for a theme.
php artisan theme:make-widget <name> Create a widget for a theme.
php artisan theme:make-controller <name> Create a controller for a theme.
php artisan theme:seed <name> <website> Seed theme data.

Generator Commands

This package provides various generator commands to speed up your development:

  • php artisan module:make-command <name> [module]
  • php artisan module:make-controller <name> [module]
  • php artisan module:make-event <name> [module]
  • php artisan module:make-job <name> [module]
  • php artisan module:make-listener <name> [module]
  • php artisan module:make-mail <name> [module]
  • php artisan module:make-middleware <name> [module]
  • php artisan module:make-model <name> [module]
  • php artisan module:make-notification <name> [module]
  • php artisan module:make-policy <name> [module]
  • php artisan module:make-provider <name> [module]
  • php artisan module:make-request <name> [module]
  • php artisan module:make-resource <name> [module]
  • php artisan module:make-rule <name> [module]
  • php artisan module:make-test <name> [module]
  • php artisan module:route-provider [module]

CRUD Generator

Generate CRUD (Create, Read, Update, Delete) operations for a model in a module.

php artisan module:make-crud <model> [module]

Options:

  • --api: Generate API CRUD.

GitHub Release

You can release your module to GitHub using the following command:

php artisan github:release <path>

Configuration

Add your GitHub token to your .env file:

JW_RELEASE_GITHUB_TOKEN=your_github_token

Options for github:release:

  • --ver: Version to release. Auto increment version if not set.
  • --changelog: Write to changelog.md. Default: true.
  • --target: Target branch to release. Default: master.

Example:

php artisan github:release modules/my-module --ver=1.0.1 --target=main

Agents Publishing

Publish dev-tool agents to the .agent directory for development assistance:

php artisan agents:publish

Options:

  • --force: Overwrite existing files without confirmation
  • --skills: Publish only the skills folder
  • --rules: Publish only the rules folder

This command copies agent configuration files from the dev-tool package to your project's .agent directory, enabling AI-powered development assistance.

Examples:

# Publish all agents
php artisan agents:publish

# Publish only skills folder
php artisan agents:publish --skills

# Publish only rules folder
php artisan agents:publish --rules

# Force overwrite existing files
php artisan agents:publish --force

juzaweb/dev-tool 适用场景与选型建议

juzaweb/dev-tool 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 574.96k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2023 年 08 月 28 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 juzaweb/dev-tool 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 juzaweb/dev-tool 我们能提供哪些服务?
定制开发 / 二次开发

基于 juzaweb/dev-tool 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2023-08-28