juzaweb / dev-tool
Develop Tool for Juzaweb CMS
Installs: 573 417
Dependents: 16
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/juzaweb/dev-tool
Requires
- php: ^8.2
Requires (Dev)
- juzaweb/core: dev-master
- laravel/framework: ^11.34
- mockery/mockery: ^1.6
- orchestra/testbench: ^9.0
- phpunit/phpunit: ^11.0
- roave/security-advisories: dev-latest
- dev-master
- 2.0.2
- 2.0.1
- 2.0.0
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0
- dev-add-theme-command-tests-11072938306190129820
- dev-feat-add-database-commands-tests-1232959628538312463
- dev-feature/crud-make-command-test-15257259402500384406
- dev-feature/add-module-command-tests-10296832806399990735
- dev-add-unit-test-job-make-command-6707961315428362009
- dev-add-module-make-command-test-11119873235522540300
- dev-unit-test-listener-make-command-10275437035610487420
- dev-unit-test-model-show-command-5280584449317970556
- dev-add-notification-make-command-test-5242353132152509736
- dev-add-model-make-command-test-3507736500669320189
- dev-add-module-delete-command-test-1674413772616493237
- dev-unit-test-mail-make-command-5027622459082868463
- dev-unit-test-datatable-make-command-1786719170780585747
- dev-add-event-make-command-test-12878415471688504704
- dev-add-middleware-make-command-test-9227606167302608661
- dev-add-unit-test-component-class-make-command-8471820305288296387
- dev-add-command-make-command-test-6176541710342917267
- dev-docs/add-readme-5632189291413704630
- dev-init-testing-4996396426962314842
This package is auto-updated.
Last update: 2026-02-14 09:48:22 UTC
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